Function cgl_rs::noise::value

source ·
pub fn value(
    x: NoiseDataType,
    y: NoiseDataType,
    z: NoiseDataType
) -> NoiseDataType
Expand description

Gets the value noise value at the given coordinates.

Example

cgl_rs::noise::init();
let noise = cgl_rs::noise::value(0.0, 0.0, 0.0);
cgl_rs::noise::shutdown();