#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 #define VECScale PSVECScale // for nondebug build
| src | Pointer to source Vec for scaling |
|---|---|
| dst | Pointer to the resultant scaled Vec. It is acceptable for dst to be equal to src. |
scale |
Floating point scale factor. |
None.
Multiplies a vector by a scalar.
During a debug build, VECScale is parsed 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 C_VECScale and PSVECScale explicitly.
2006/03/01 Initial version.
CONFIDENTIAL