Interpola esféricamente entre dos vectores.
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
.
Note: This static method can slerp beyond the a
and b
vectors. This means t
can be less than zero or greater than one.
See Also: Slerp.