#include <revolution/mtx.h>
void C_QUATSlerp (
const Quaternion* p,
const Quaternion* q,
Quaternion* r,
f32 t );
#define QUATSlerp C_QUATSlerp
| p | Pointer to the first Quaternion. |
|---|---|
| q | Pointer to the second Quaternion. |
| r | Pointer to the resultant Quaternion. Contains the result of interpolating between p and q. Acceptable if r = p or r = q. |
| t | Interpolation parameter. If t = 0.0, the result becomes equal to p. If t = 1.0, the result becomes equal to q. |
None.
Computes the spherical linear interpolation (slerp) for two quaternions.
Quaternion, QuaternionPtr, QUATLerp, QUATSquad
2006/03/01 Initial version.
CONFIDENTIAL