Function simdnoise::get_4d_noise[][src]

pub fn get_4d_noise(
    start_x: f32,
    width: usize,
    start_y: f32,
    height: usize,
    start_z: f32,
    depth: usize,
    start_w: f32,
    time: usize,
    noise_type: NoiseType
) -> (Vec<f32>, f32, f32)

Gets a width X height X depth X time sized block of rd noise, unscaled, using runtime CPU feature detection to pick the fastest method between scalar, SSE2, SSE41, and AVX2 start_* can be used to provide an offset in the coordinates. Results are unscaled, 'min' and 'max' noise values are returned so you can scale and transform the noise as you see fit in a single pass.