#include <revolution/mtx.h>
void C_VECScale ( const Vec* src, Vec* dst, f32 scale );
void PSVECScale ( const Vec* src, Vec* dst, f32 scale );
#define VECScale C_VECScale // for debug build
#deifne VECScale PSVECScale // for nondebug build
src |
Pointer to source Vec for scaling. |
dst |
Pointer to resultant scaled Vec. Acceptable if dst = src. |
|
Floating point scale factor. |
None.
Multiplies a vector by a scalar.
During a debug build, VECScale is interpreted as C_VECScale, which is a normal C language version. During a non-debug build for a Broadway processor, the paired-singles equivalent of this function, PSVECScale, will be automatically substituted. You can also call each of C_VECScale/PSVECScale explicitly.
03/01/2006 Initial version.