1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="Microsoft FrontPage 5.0">
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8<TITLE>MTXIdentity</TITLE>
9</HEAD>
10<BODY>
11<H1 align="left">MTXIdentity</H1>
12<H2 align="left">C Specification</H2>
13<BLOCKQUOTE><CODE><CODE>#include &lt;revolution/mtx.h&gt;</CODE></CODE></BLOCKQUOTE>
14<BLOCKQUOTE><CODE>void MTXIdentity ( Mtx <EM>m</EM> );</CODE></BLOCKQUOTE>
15<H2 align="left">Arguments</H2>
16<DIV align="left">
17<TABLE border="1" cellpadding="3" cellspacing="0.1">
18  <TBODY>
19    <TR>
20<TD width="120" valign="top" align="left" bgcolor="#ffffe8"><code><em><strong>m</strong></em> </code></TD>
21<TD width="520" valign="top" align="left">Matrix to be set to identity.&nbsp;&nbsp; <code><em><strong>m</strong></em></code> may be either an <A href="../structures/Mtx_MtxPtr.html"><CODE>Mtx</CODE></A> or an <A href="../structures/Mtx_MtxPtr.html"><CODE>MtxPtr</CODE></A>.</TD>
22    </TR>
23  </TBODY>
24</TABLE>
25</DIV>
26<H2 align="left">Return Values</H2>
27<P align="left">None.</P>
28<H2 align="left">Description</H2>
29<P align="left">Sets the contents of <em><strong><code>m</code> </strong></em> to the identity matrix.</P>
30<P>During a debug build, <code>MTXIdentity</code> is interpreted as <code>C_MTXIdentity</code>, which is a normal C language version. During a nondebug build for a Broadway processor, the paired-singles equivalent of this function, <code>PSMTXIdentity</code>, will be automatically substituted. You can also call <code>C_MTXIdentity</CODE> or <CODE>PSMTXIdentity</code> explicitly.</P>
31
32
33<H2 align="left">See Also</H2>
34<P align="left"><A href="../structures/Mtx_MtxPtr.html"><CODE>Mtx, MtxPtr</CODE></A>,
35<A href="../stack/MTXInitStack.html"><CODE>MTXInitStack</CODE></A>, <A href="../model/MTXRotAxisRad.html"><CODE>MTXRotAxis</CODE></A>, <A href="../model/MTXRotDeg.html"><CODE>MTXRotDeg</CODE></A>, <A href="../model/MTXRotTrig.html"><CODE>MTXRotTrig</CODE></A>, <A href="../model/MTXScale.html"><CODE>MTXScale</CODE></A>, <A href="../model/MTXTrans.html"><CODE>MTXTrans</CODE></A></P>
36<H2>Revision History</H2>
37<P>2006/03/01 Initial version.</P>
38<hr>
39<P>CONFIDENTIAL</p>
40</BODY>
41</HTML>