#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 resultant Quaternion. Contains the result of interpolation 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 spherical linear interpolation (Slerp) of two quaternions.
Quaternion, QuaternionPtr, QUATLerp, QUATSquad
03/01/2006 Initial version.