Function simdnoise::avx2::get_1d_scaled_noise[][src]

pub unsafe fn get_1d_scaled_noise(
    start_x: f32,
    width: usize,
    noise_type: NoiseType,
    scale_min: f32,
    scale_max: f32
) -> Vec<f32>
This is supported with target feature avx2 only.

Gets a width sized block of scaled 2d noise start_x can be used to provide an offset in the coordinates. scaled_min and scaled_max specify the range you want the noise scaled to.