MTXIdentity

C Specification

#include <revolution/mtx.h>
void MTXIdentity ( Mtx m );

Arguments

m Matrix to be set to identity.   m may be either an Mtx or an MtxPtr.

Return Values

None.

Description

Sets the contents of m to the identity matrix.

During a debug build, MTXIdentity is interpreted as C_MTXIdentity, which is a normal C language version. During a nondebug build for a Broadway processor, the paired-singles equivalent of this function, PSMTXIdentity, will be automatically substituted. You can also call C_MTXIdentity or PSMTXIdentity explicitly.

See Also

Mtx, MtxPtr, MTXInitStack, MTXRotAxis, MTXRotDeg, MTXRotTrig, MTXScale, MTXTrans

Revision History

03/01/2006 Initial version.