Function rs_pbrt::core::lowdiscrepancy::gray_code_sample_2d
source · pub fn gray_code_sample_2d(
c0: &[u32],
c1: &[u32],
n: u32,
scramble: Point2i,
p: &mut [Point2f]
)
Expand description
Takes two generator matrices c0 and c1, a number of 2D samples to generate n, and stores the corresponding samples in memory at the location pointed to by p.