pub fn hermite_vec3(p0: Vec3, p1: Vec3, v0: Vec3, v1: Vec3, t: f32) -> Vec3
Expand description
Performs a cubic Hermite interpolation between two vectors p0
and p1
with velocities v0
and v1
based on the value at t
.
When t
is 0.0
, the result will be equal to p0
. When t
is 1.0
, the result will be equal to p1
.