MTXIdentity

Syntax

#include <revolution/mtx.h>

void MTXIdentity ( Mtx m );

Arguments

m Matrix to be set to the identity matrix. m may be either a Mtx or a MtxPtr.

Return Values

None.

Description

Sets the contents of m to an identity matrix.

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

See Also

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

Revision History

2006/03/01 Initial version.


CONFIDENTIAL