Сферически интерполяцию между двумя векторами
Interpolates between a
and b
by amount t
. The difference between this and linear
interpolation (aka, "lerp") is that the vectors are treated as directions rather than points
in space. The direction of the returned vector is interpolated by the angle and its
magnitude is interpolated between the magnitudes of from
and to
.
See Also: Slerp.