pub fn lerp<T>(a: Quaternion<T>, b: Quaternion<T>, t: T) -> Quaternion<T>where
T: Float,
Expand description
Lerp (Linear interpolation)
Generate a Versor that interpolate the shortest path from a
to b
.
The argument t (0 <= t <= 1)
is the interpolation parameter.
The arguments a
and b
must be Versor.
Normalization is not performed internally because it increases the computational complexity.