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