Function simdnoise::sse41::get_2d_noise [−][src]
pub unsafe fn get_2d_noise(
start_x: f32,
width: usize,
start_y: f32,
height: usize,
noise_type: NoiseType
) -> (Vec<f32>, f32, f32)
This is supported with target feature
sse4.1
only.Gets a width X height sized block of 2d noise, unscaled.
start_x
and start_y
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.