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
13<H2 align="left">Syntax</H2>
14<dl><dd><pre class="construction">
15#include &lt;revolution/mtx.h&gt;
16
17void MTXIdentity ( Mtx m );
18</pre></dd></dl>
19
20<H2 align="left">Arguments</H2>
21<TABLE class="arguments" border="1" >
22  <TBODY>
23    <TR>
24<TH>m</TH>
25<TD>Matrix to be set to the identity matrix. <code><em><strong>m</strong></em></code> may be either a <a href="../Structures/Mtx_MtxPtr.html"><code>Mtx</code></a> or a <a href="../Structures/Mtx_MtxPtr.html"><code>MtxPtr</code></a>.</TD>
26    </TR>
27  </TBODY>
28</TABLE>
29
30<H2 align="left">Return Values</H2>
31<P>None.</P>
32
33<H2 align="left">Description</H2>
34<P>Sets the contents of <em><strong><code>m</code></strong></em> to an identity matrix.</P>
35<P>During a debug build, <code>MTXIdentity</code> is interpreted as <code>C_MTXIdentity</code>, which is a normal C language version. During a non-debug build for a Broadway processor, the paired-singles equivalent of this function, <code><font face="Courier New">PSMTXIdentity</font></code>, will be automatically substituted. You can also call each of <code>C_MTXIdentity/PSMTXIdentity</code> explicitly.</P>
36
37<H2 align="left">See Also</H2>
38<P class="reference">
39<A href="../structures/Mtx_MtxPtr.html">Mtx, MtxPtr</A>,
40<A href="../stack/MTXInitStack.html">MTXInitStack</A>,
41<A href="../model/MTXRotAxisRad.html">MTXRotAxis</A>,
42<A href="../model/MTXRotDeg.html">MTXRotDeg</A>,
43<A href="../model/MTXRotTrig.html">MTXRotTrig</A>,
44<A href="../model/MTXScale.html">MTXScale</A>,
45<A href="../model/MTXTrans.html">MTXTrans</A>
46</P>
47
48<H2>Revision History</H2>
49<P>
502006/03/01 Initial version.<br>
51</P>
52
53<hr><p>CONFIDENTIAL</p></body>
54</HTML>