#include <revolution/mtx.h>
void C_MTXScale ( Mtx m, f32 xS, f32 yS, f32 zS );
void PSMTXScale ( Mtx m, f32 xS, f32 yS, f32 zS );
#define MTXScale C_MTXScale // for debug build
#define MTXScale PSMTXScale // for nondebug build
m |
New scale matrix. m may be either an Mtx or an MtxPtr. |
xS |
X scale value. |
yS |
Y scale value. |
zS |
Z scale value. |
None.
Sets a scaling matrix from the three ( xS, yS, zS ) scaling parameters.
During a debug build, MTXScale is interpreted as C_MTXScale, which is a normal C language version. During a nondebug build for a Broadway processor, the paired-singles equivalent of this function, PSMTXScale, will be automatically substituted. You can also call C_MTXScale or PSMTXScale explicitly.
Mtx, MtxPtr, MTXScaleApply, MTXTrans
03/01/2006 Initial version.