Perlin.js 374 B

123456789101112131415161718
  1. function Perlin() {
  2. }
  3. Perlin.prototype.Get2DTiledX = function(x,y,t) {
  4. Polycode.Perlin_Get2DTiledX(this.__ptr, x,y,t)
  5. }
  6. Perlin.prototype.Get = function(x,y) {
  7. Polycode.Perlin_Get(this.__ptr, x,y)
  8. }
  9. Perlin.prototype.Get2D = function(x,y) {
  10. Polycode.Perlin_Get2D(this.__ptr, x,y)
  11. }
  12. Perlin.prototype.Get3D = function(x,y,z) {
  13. Polycode.Perlin_Get3D(this.__ptr, x,y,z)
  14. }