#include <revolution/mtx.h>
void C_QUATScale ( const Quaternion* q, Quaternion* r, f32 scale );
void PSQUATScale ( const Quaternion* q, Quaternion* r, f32 scale );
#define QUATScale C_QUATScale // for debug build
#define QUATScale PSQUATScale // for nondebug build
p |
Pointer to Quaternion to be scaled. |
r |
Pointer to resultant Quaternion. Contains the result of scaled p. Acceptable if r = p. |
|
Scale value in floating point number. |
None.
Multiplies a quaternion by a scalar value.
During a debug build, QUATScale is interpreted as C_QUATScale, which is a normal C language version. During a non-debug build for a Broadway processor, the paired-singles equivalent of this function, PSQUATScale, will be automatically substituted. You can also call each of C_QUATScale/PSQUATScale explicitly.
03/01/2006 Initial version.