[−][src]Function pbrt::core::interpolation::sample_catmull_rom_2d
pub fn sample_catmull_rom_2d(
nodes1: &Vec<Float>,
nodes2: &Vec<Float>,
values: &Vec<Float>,
cdf: &Vec<Float>,
alpha: Float,
u: Float,
fval: Option<&mut Float>,
pdf: Option<&mut Float>
) -> Float
Importance sampling of 2D functions via spline interpolants.