Function rs_pbrt::core::interpolation::catmull_rom_weights
source · pub fn catmull_rom_weights(
nodes: &[Float],
x: Float,
offset: &mut i32,
weights: &mut [Float; 4]
) -> bool
Expand description
Calculates an offset and four weights for Catmull-Rom spline interpolation.