pub fn quat_slerp(t: Float, q1: &Quaternion, q2: &Quaternion) -> Quaternion
Expand description

Spherical linear interpolation gives constant speed motion along great circle arcs on the surface of a sphere and consequently has two desirable properties for interpolating rotations:

  1. The path to get between two rotations is the shortest possible path in rotation space.

  2. The speed of interpolation is constant across the interpolation range