[][src]Function tray_rust::sampler::ld::sample_2d

pub fn sample_2d(samples: &mut [(f32, f32)], scramble: (u32, u32), offset: u32)

Generate a 2D pattern of low discrepancy samples to fill the slice sample values will be normalized between [0, 1]