#include <revolution/mtx.h>
void C_QUATSquad (
const Quaternion* p,
const Quaternion* a,
const Quaternion* b,
const Quaternion* q,
Quaternion* r,
f32 t );
#define QUATSquad C_QUATSquad
| p | Pointer to the first Quaternion. |
|---|---|
| a | Pointer to the first extra inner-quadrangle Quaternion. |
| b | Pointer to the second extra inner-quadrangle 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, a, b, or 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.
Performs spherical 3D (squad) interpolation on two quaternions. Two quaternions for special control (inner-quadrangles) are required to carry out this calculation.
Quaternion, QuaternionPtr, QUATLerp, QUATSlerp
2006/03/01 Initial version.
CONFIDENTIAL