#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. |
|
Pointer to the second extra inner-quadrangle Quaternion. |
q |
Pointer to the second Quaternion. |
r |
Pointer to resultant Quaternion. Contains the result of interpolation between p and q. Acceptable if r = either of p,a,b,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
03/01/2006 Initial version.