#include <revolution/mtx.h> void C_MTXTrans ( Mtx m, f32 xT, f32 yT, f32 zT ); void PSMTXTrans ( Mtx m, f32 xT, f32 yT, f32 zT ); #define MTXTrans C_MTXTrans // for debug build #define MTXTrans PSMTXTrans // for nondebug build
m |
New translation matrix. The type of m may be either Mtx or MtxPtr. |
|---|---|
| xT | X translation value |
| yT | Y translation value |
| zT | Z translation value |
None.
Sets a translation matrix from three translation parameters (xT, yT and zT).
During a debug build, the MTXTrans function is parsed as C_MTXTrans, which is a normal C language version. During a non-debug build for a Broadway processor, the paired-singles equivalent of this function, PSMTXTrans, will be automatically substituted. You can also call C_MTXTrans and PSMTXTrans explicitly.
Mtx, MtxPtr, MTXTransApply, MTXScale
2006/03/01 Initial version.
CONFIDENTIAL