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