Function hexasphere::interpolation::geometric_slerp
source · pub fn geometric_slerp(a: Vec3A, b: Vec3A, p: f32) -> Vec3A
Expand description
Implements spherical interpolation along the great arc created by
the initial points. This returns a new point p
percent of the way
along that arc.
Note: a
and b
should both be normalized for normalized results.