Skip to main content

grad_dot

Function grad_dot 

Source
pub fn grad_dot(hash: usize, x: f32, y: f32, z: f32) -> f32
Expand description

Calculate the f32 dot product used by vanilla Perlin noise.