Home
last modified time | relevance | path

Searched refs:grad3 (Results 1 – 2 of 2) sorted by relevance

/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/basis/
DImprovedNoise.java70 ImprovedNoise.lerp(u, ImprovedNoise.grad3(ImprovedNoise.p[AA], x, y, z), in noise()
71 ImprovedNoise.grad3(ImprovedNoise.p[BA], x - 1, y, z)), // BLENDED in noise()
72 ImprovedNoise.lerp(u, ImprovedNoise.grad3(ImprovedNoise.p[AB], x, y - 1, z), // RESULTS in noise()
73 ImprovedNoise.grad3(ImprovedNoise.p[BB], x - 1, y - 1, z))),// FROM in noise()
75 ImprovedNoise.lerp(u, ImprovedNoise.grad3(ImprovedNoise.p[AA + 1], x, y, z - 1), // CORNERS in noise()
76 ImprovedNoise.grad3(ImprovedNoise.p[BA + 1], x - 1, y, z - 1)), // OF in noise()
77 ImprovedNoise.lerp(u, ImprovedNoise.grad3(ImprovedNoise.p[AB + 1], x, y - 1, z - 1), in noise()
78 ImprovedNoise.grad3(ImprovedNoise.p[BB + 1], x - 1, y - 1, z - 1)))); in noise()
96 static final float grad3(final int hash, final float x, final float y, final float z) {
/external/mesa3d/src/mesa/program/
Dprog_noise.c168 grad3(int hash, float x, float y, float z) in grad3() function
436 n0 = t0 * t0 * grad3(perm[ii + perm[jj + perm[kk]]], x0, y0, z0); in _mesa_noise3()
445 t1 * t1 * grad3(perm[ii + i1 + perm[jj + j1 + perm[kk + k1]]], x1, in _mesa_noise3()
455 t2 * t2 * grad3(perm[ii + i2 + perm[jj + j2 + perm[kk + k2]]], x2, in _mesa_noise3()
465 t3 * t3 * grad3(perm[ii + 1 + perm[jj + 1 + perm[kk + 1]]], x3, y3, in _mesa_noise3()