Function cgl_rs::noise::valuecubic

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

Gets the valuecubic noise value at the given coordinates.

Example

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