MTXTrans

Syntax

    #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

Arguments

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

Return Values

None.

Description

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.

See Also

Mtx, MtxPtr, MTXTransApply, MTXScale

Revision History

2006/03/01 Initial version.


CONFIDENTIAL