Function simdnoise::get_3d_scaled_noise [−][src]
pub fn get_3d_scaled_noise(
start_x: f32,
width: usize,
start_y: f32,
height: usize,
start_z: f32,
depth: usize,
noise_type: NoiseType,
scaled_min: f32,
scaled_max: f32
) -> Vec<f32>
Gets a width X height X depth sized block of scaled 3d noise
using runtime CPU feature detection to pick the fastest method
between scalar, SSE2, SSE41, and AVX2
start_x
, start_y
and start_z
can be used to provide an offset in the
coordinates.
scaled_min
and scaled_max
specify the range you want the noise scaled to.