slerp

Returns a spherical linear interpolation of two rotations a and b with interpolator value of t.

The a and b arguments are expected to be normalized. The function does not clamp the t parameter, however the most accurate results are returned when t is in range of [0, 1].

The function always returns the shortest interpolation path between a and b.

The angular velocity of interpolation is constant, given constant velocity of t.