Skip to main content

catmull_rom

Function catmull_rom 

Source
pub fn catmull_rom(p0: &Vec3, p1: &Vec3, p2: &Vec3, p3: &Vec3, t: Real) -> Vec3
Expand description

Catmull-Rom spline interpolation.

Interpolates between p1 and p2 using the four control points p0, p1, p2, p3. t ∈ [0, 1].