[][src]Function pbrt::core::interpolation::sample_fourier

pub fn sample_fourier(
    ak: &Vec<Float>,
    recip: &Vec<Float>,
    m: i32,
    u: Float,
    pdf: &mut Float,
    phi_ptr: &mut Float
) -> Float

Returns the value of the Fourier expansion at the sampled position.