slerp

球面線形補間(Sphercal Linear Interpolation)を行います.

Q
slerp
(
Q
T
)
(
in Q from
,
in Q to
,
T t
)
if (
__traits(isFloating, typeof(Q.vec[0]))
)

Parameters

from Q

tが0の時のQuaternion

to Q

tが1の時のQuaternion

t T

Meta