#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. The type of m may be either Mtx or MtxPtr. |
|---|---|
| xS | X scale value |
| yS | Y scale value |
| zS | Z scale value |
None.
Sets a scaling matrix from three scaling parameters (xS, yS, and zS).
During a debug build, the MTXScale function is parsed as C_MTXScale, which is a normal C language version. During a non-debug build for a Broadway processor, the paired-singles equivalent of this function, PSMTXScale, will be automatically substituted. You can also call C_MTXScale and PSMTXScale explicitly.
Mtx, MtxPtr, MTXScaleApply, MTXTrans
2006/03/01 Initial version.
CONFIDENTIAL