MTXTrans

C Specification

#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.  m may be either an Mtx or an MtxPtr.
xT X translation value.
yT Y translation value.
zT X translation value.

Return Values

None.

Description

Sets a translation matrix from three ( xT, yT, zT ) translation parameters.

During a debug build, MTXTrans is interpreted as C_MTXTrans, which is a normal C language version. During a nondebug build for a Broadway processor, the paired-singles equivalent of this function, PSMTXTrans, will be automatically substituted. You can also call each of C_MTXTrans/PSMTXTrans explicitly.

See Also

Mtx, MtxPtr, MTXTransApply
MTXScale

Revision History

03/01/2006 Initial version.