Function rs_pbrt::core::interpolation::sample_fourier
source · pub fn sample_fourier(
ak: &SmallVec<[Float; 128]>,
recip: &[Float],
m: i32,
u: Float,
pdf: &mut Float,
phi_ptr: &mut Float
) -> Float
Expand description
Returns the value of the Fourier expansion at the sampled position.