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

pub fn catmull_rom_weights(
    nodes: &Vec<Float>,
    x: Float,
    offset: &mut i32,
    weights: &mut [Float; 4]
) -> bool

Calculates an offset and four weights for Catmull-Rom spline interpolation.