Lines Matching refs:permutations
607 uint8_t* permutations = improved_noise_permutations; in calculateImprovedNoiseValueForPoint() local
608 int A = permutations[X] + Y; in calculateImprovedNoiseValueForPoint()
609 int AA = permutations[A] + Z; in calculateImprovedNoiseValueForPoint()
610 int AB = permutations[A + 1] + Z; in calculateImprovedNoiseValueForPoint()
611 int B = permutations[X + 1] + Y; in calculateImprovedNoiseValueForPoint()
612 int BA = permutations[B] + Z; in calculateImprovedNoiseValueForPoint()
613 int BB = permutations[B + 1] + Z; in calculateImprovedNoiseValueForPoint()
614 result += lerp(w, lerp(v, lerp(u, grad(permutations[AA ], px , py , pz ), in calculateImprovedNoiseValueForPoint()
615 grad(permutations[BA ], px - 1, py , pz )), in calculateImprovedNoiseValueForPoint()
616 lerp(u, grad(permutations[AB ], px , py - 1, pz ), in calculateImprovedNoiseValueForPoint()
617 grad(permutations[BB ], px - 1, py - 1, pz ))), in calculateImprovedNoiseValueForPoint()
618 lerp(v, lerp(u, grad(permutations[AA + 1], px , py , pz - 1), in calculateImprovedNoiseValueForPoint()
619 grad(permutations[BA + 1], px - 1, py , pz - 1)), in calculateImprovedNoiseValueForPoint()
620 lerp(u, grad(permutations[AB + 1], px , py - 1, pz - 1), in calculateImprovedNoiseValueForPoint()
621 grad(permutations[BB + 1], px - 1, py - 1, pz - 1)))) / in calculateImprovedNoiseValueForPoint()