1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21
22      span.virtual_style
23      {
24        font-size			 : 8pt;
25        color				 : white;
26        font-weight			: bold;
27        background			: #0a0;
28        border-left			: solid 1px #0f0;
29        border-top			: solid 1px #0f0;
30        border-right		: solid 1px #060;
31        border-bottom		: solid 1px #060;
32        padding-left		: 2px;
33        padding-right		: 2px;
34      }
35
36      span.protected_style
37      {
38        font-size			 : 8pt;
39        color				 : white;
40        font-weight			: bold;
41        background			: #444;
42        border-left			: solid 1px #ccc;
43        border-top			: solid 1px #ccc;
44        border-right		: solid 1px #222;
45        border-bottom		: solid 1px #222;
46        padding-left		: 2px;
47        padding-right		: 2px;
48      }
49        --></style>
50<title>nn::math::MTX44</title>
51  </head>
52  <body>
53<h1><CODE>nn::math::MTX44</CODE> Structure</h1>
54<h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">struct MTX44 : public nn::math::MTX44_</pre>
57    </div>
58<h2>Description</h2>
59    <div class="section">
60<p>A 4x4 matrix class.</p><!-- write here --></div>
61    <a name="typedef" id="typedef">
62<h2><CODE>typedef</CODE> Definitions</h2>
63      <div class="section">
64        <table class="members">
65          <tr>
66            <td width="100" />
67            <th>
68<a href="../../../nn/math/MTX44/self_type.html"><CODE>self_type</CODE></a>
69            </th>
70<td>This class's type.</td>
71          </tr>
72          <tr>
73            <td width="100" />
74            <th>
75<a href="../../../nn/math/MTX44/value_type.html"><CODE>value_type</CODE></a>
76            </th>
77<td>The type of this class's elements.</td>
78          </tr> </table>
79      </div>
80    </a> <a name="constant" id="constant">
81<h2>Member Constants</h2>
82      <div class="section">
83        <table class="members">
84          <tr>
85            <td width="100">
86<span class="static_style" title="static">S</span>
87            </td>
88            <th>
89<span class="argument"><a href="../../../nn/math/MTX44/ROW_COUNT.html"><CODE>ROW_COUNT</CODE></a></span>
90            </th>
91<td>The number of rows.</td>
92          </tr>
93          <tr>
94            <td width="100">
95<span class="static_style" title="static">S</span>
96            </td>
97            <th>
98<span class="argument"><a href="../../../nn/math/MTX44/COLUMN_COUNT.html"><CODE>COLUMN_COUNT</CODE></a></span>
99            </th>
100<td>The number of columns.</td>
101          </tr> </table>
102      </div>
103    </a> <a name="function" id="function">
104<h2>Member Functions</h2>
105      <div class="section">
106        <table class="members">
107          <tr>
108<th class="category" colspan="3">Creation</th>
109          </tr>
110          <tr>
111            <td width="100">  </td>
112            <th>
113<a href="../../../nn/math/MTX44/MTX44.html"><CODE>MTX44</CODE></a>
114            </th>
115<td>Constructor.</td>
116          </tr>
117          <tr>
118<th class="category" colspan="3">Conversions</th>
119          </tr>
120          <tr>
121            <td width="100">  </td>
122            <th>
123<a href="../../../nn/math/MTX44/operator f32 -2a.html"><CODE>operator f32 *</CODE></a>
124            </th>
125<td>Casts to an <CODE>f32</CODE>-type value.</td>
126          </tr>
127          <tr>
128            <td width="100">  </td>
129            <th>
130<a href="../../../nn/math/MTX44/operator const f32 -2a.html"><CODE>operator const f32 *</CODE></a>
131            </th>
132<td>Casts to an <CODE>f32</CODE>-type value.</td>
133          </tr>
134          <tr>
135            <td width="100">  </td>
136            <th>
137<a href="../../../nn/math/MTX44/GetRow.html"><CODE>GetRow</CODE></a>
138            </th>
139<td>Gets a row as a <CODE><a href="../../../nn/math/VEC4/Overview.html">VEC4</a></CODE>-type value.</td>
140          </tr>
141          <tr>
142            <td width="100">  </td>
143            <th>
144<a href="../../../nn/math/MTX44/GetColumn.html"><CODE>GetColumn</CODE></a>
145            </th>
146<td>Gets a column as a <CODE><a href="../../../nn/math/VEC4/Overview.html">VEC4</a></CODE>-type value.</td>
147          </tr>
148          <tr>
149            <td width="100">  </td>
150            <th>
151<a href="../../../nn/math/MTX44/SetColumn.html"><CODE>SetColumn</CODE></a>
152            </th>
153<td>Sets a column as a <CODE><a href="../../../nn/math/VEC4/Overview.html">VEC4</a></CODE>-type value.</td>
154          </tr>
155          <tr>
156<th class="category" colspan="3">Operators</th>
157          </tr>
158          <tr>
159            <td width="100">  </td>
160            <th>
161<a href="../../../nn/math/MTX44/operator-2a=.html"><CODE>operator*=</CODE></a>
162            </th>
163<td>Assigns the values of a postmultiplied matrix.</td>
164          </tr>
165          <tr>
166            <td width="100">  </td>
167            <th>
168<a href="../../../nn/math/MTX44/Transpose.html"><CODE>Transpose</CODE></a>
169            </th>
170<td>Calculates the transpose.</td>
171          </tr>
172          <tr>
173<th class="category" colspan="3">Settings</th>
174          </tr>
175          <tr>
176            <td width="100">  </td>
177            <th>
178<a href="../../../nn/math/MTX44/SetupIdentity.html"><CODE>SetupIdentity</CODE></a>
179            </th>
180<td>Sets up the identity matrix.</td>
181          </tr>
182          <tr>
183            <td width="100">  </td>
184            <th>
185<a href="../../../nn/math/MTX44/SetupScale.html"><CODE>SetupScale</CODE></a>
186            </th>
187<td>Sets up a scaling matrix.</td>
188          </tr>
189          <tr>
190            <td width="100">  </td>
191            <th>
192<a href="../../../nn/math/MTX44/SetupTranslate.html"><CODE>SetupTranslate</CODE></a>
193            </th>
194<td>Sets up a translation matrix.</td>
195          </tr>
196          <tr>
197            <td width="100">  </td>
198            <th>
199<a href="../../../nn/math/MTX44/SetupRotateXyz.html"><CODE>SetupRotateXyz</CODE></a>
200            </th>
201<td>Sets up a rotation matrix in XYZ order.</td>
202          </tr>
203          <tr>
204            <td width="100">  </td>
205            <th>
206<a href="../../../nn/math/MTX44/SetupRotate.html"><CODE>SetupRotate</CODE></a>
207            </th>
208<td>Sets up a rotation matrix around the specified axis.</td>
209          </tr>
210          <tr>
211            <td width="100">  </td>
212            <th>
213<a href="../../../nn/math/MTX44/SetupFrustum.html"><CODE>SetupFrustum</CODE></a>
214            </th>
215<td>Sets up a projection matrix based on the viewing frustum at the near clipping plane. <BR><B>Note:</B> The order of the arguments follows the OpenGL standard.</td>
216          </tr>
217          <tr>
218            <td width="100">  </td>
219            <th>
220<a href="../../../nn/math/MTX44/SetupOrtho.html"><CODE>SetupOrtho</CODE></a>
221            </th>
222<td>Sets up an orthographic projection matrix. <BR><B>Note:</B> The order of the arguments follows the OpenGL standard.</td>
223          </tr>
224          <tr>
225            <td width="100">  </td>
226            <th>
227<a href="../../../nn/math/MTX44/SetupPerspective.html"><CODE>SetupPerspective</CODE></a>
228            </th>
229<td>Sets up a projection matrix based on field-of-view angle and aspect ratio.</td>
230          </tr>
231          <tr>
232<th class="category" colspan="3">Comparisons</th>
233          </tr>
234          <tr>
235            <td width="100">  </td>
236            <th>
237<a href="../../../nn/math/MTX44/operator==.html"><CODE>operator==</CODE></a>
238            </th>
239<td>Returns <CODE>true</CODE> if the values are equal.</td>
240          </tr>
241          <tr>
242            <td width="100">  </td>
243            <th>
244<a href="../../../nn/math/MTX44/operator!=.html"><CODE>operator!=</CODE></a>
245            </th>
246<td>Returns <CODE>true</CODE> if the values are not equal.</td>
247          </tr>
248          <tr>
249            <td width="100">  </td>
250            <th>
251<a href="../../../nn/math/MTX44/IsIdentity.html"><CODE>IsIdentity</CODE></a>
252            </th>
253<td>Returns <CODE>true</CODE> if this is an identity matrix.</td>
254          </tr>
255          <tr>
256<th class="category" colspan="3">Other</th>
257          </tr>
258          <tr>
259            <td width="100">
260<span class="static_style" title="static">S</span> </td>
261            <th>
262<a href="../../../nn/math/MTX44/Identity.html"><CODE>Identity</CODE></a>
263            </th>
264<td>The identity matrix.</td>
265          </tr>
266          <tr>
267            <td width="100">  </td>
268            <th>
269<a href="../../../nn/math/MTX44/Report.html"><CODE>Report</CODE></a>
270            </th>
271<td>Outputs the state.</td>
272          </tr> </table>
273      </div>
274    </a>
275<h2>Inheritance Hierarchy</h2>
276    <div class="section">
277<p class="hierarchy"><span>nn::math::MTX44_</span><br />  <b>nn::math::MTX44</b>
278      </p>
279    </div>
280<h2>Revision History</h2>
281    <div class="section">
282      <dl class="history">
283        <dt>2010/01/29</dt>
284<dd>Initial version.<br />
285        </dd>
286      </dl>
287    </div>
288  <hr><p>CONFIDENTIAL</p></body>
289</html>