-
Notifications
You must be signed in to change notification settings - Fork 7
Slerp Quaternion Arrays
Ryan Porter edited this page Feb 25, 2018
·
4 revisions
Returns the spherical interpolation from inputQuat1
to inputQuat2
.
Attribute Name | Description | Attribute Type |
---|---|---|
inputQuat1 (iq1) | Quaternions to rotate from. | quatArray |
inputQuat2 (iq2) | Quaternions to rotate to. | quatArray |
tween (t) | Interpolation value. As t goes from 0 to 1, the quaternions returned go from inputQuat1 to inputQuat2 . |
double |
spin (s) | Number of complete revolutions around the axis. If negative, the interpolation takes the "long way". | int |
outputQuat (oq) | Quaternions that have been interpolated from inputVector1 to inputVector2 . |
quatArray |