INNER CODE UNIT · JavaScript
r
paladin-t/bitty · lib/fast_noise/JavaScript/FastNoiseLite.js:449
let r = (x + y + z) * R3;
x = r - x;
y = r - y;
z = r - z;
break;
default:
break;
}
switch (this._FractalType) {
default:
return this._GenNoiseSingleR3(this._Seed, x, y, z);
case FastNoiseLite.FractalType.FBm:
return this._GenFractalFBmR3(x, y, z);
case FastNoiseLite.FractalType.Ridged:
return this._GenFractalRidgedR3(x, y, z);
case FastNoiseLite.FractalType.PingPong:
return this._GenFractalPingPongR3(x, y, z);