Skip to main content

hermite_interpolate

Function hermite_interpolate 

Source
pub fn hermite_interpolate(
    p0: &Vec3,
    m0: &Vec3,
    p1: &Vec3,
    m1: &Vec3,
    t: Real,
) -> Vec3
Expand description

Hermite spline interpolation between two points p0 and p1 with tangents m0 and m1. Parameter t runs from 0 (at p0) to 1 (at p1).