Function cgl_rs::noise::worley

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

Gets the worley noise value at the given coordinates.

Example

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