Function cgl_rs::noise::opensimplex
source · pub fn opensimplex(
x: NoiseDataType,
y: NoiseDataType,
z: NoiseDataType
) -> NoiseDataType
Expand description
Gets the opensimplex noise value at the given coordinates.
Example
cgl_rs::noise::init();
let noise = cgl_rs::noise::opensimplex(0.0, 0.0, 0.0);
cgl_rs::noise::shutdown();