nlerp

inline fun nlerp(a: ComplexF, b: ComplexF, t: Float): ComplexF

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

The a and b arguments are expected to be normalized. The t argument is expected to be in range of [0, 1].

Given the constant velocity of t, the linear velocity of interpolation is constant, but the angular velocity is not.

This function can be used as an approximation of slerp when angle between a and b is small.