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><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/math/Overview.html">math</a>::MTX44</CODE> Class</h1>
54    <h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">class MTX44 : public <a href="../../../nn/math/MTX44_/Overview.html">nn::math::MTX44_</a></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 width="100">const int</td>
92            <td>The number of rows.</td>
93          </tr>
94          <tr>
95            <td width="100">
96              <span class="static_style" title="static">S</span>
97            </td>
98            <th>
99              <span class="argument"><a href="../../../nn/math/MTX44/COLUMN_COUNT.html"><CODE>COLUMN_COUNT</CODE></a></span>
100            </th>
101            <td width="100"><CODE>const int</CODE> </td>
102            <td>The number of columns.</td>
103          </tr> </table>
104      </div>
105    </a> <a name="function" id="function">
106      <h2>Member Functions</h2>
107      <div class="section">
108        <table class="members">
109          <tr>
110            <th class="category" colspan="3">Creation</th>
111          </tr>
112          <tr>
113            <td width="100">  </td>
114            <th>
115              <a href="../../../nn/math/MTX44/MTX44.html"><CODE>MTX44</CODE></a>
116            </th>
117            <td>Constructor.</td>
118          </tr>
119          <tr>
120            <th class="category" colspan="3">Conversions</th>
121          </tr>
122          <tr>
123            <td width="100">  </td>
124            <th>
125              <a href="../../../nn/math/MTX44/operator f32 -2a.html"><CODE>operator f32 *</CODE></a>
126            </th>
127            <td>Casts to an <CODE>f32</CODE>-type value.</td>
128          </tr>
129          <tr>
130            <td width="100">  </td>
131            <th>
132              <a href="../../../nn/math/MTX44/operator const f32 -2a.html"><CODE>operator const f32 *</CODE></a>
133            </th>
134            <td>Casts to an <CODE>f32</CODE>-type value.</td>
135          </tr>
136          <tr>
137            <td width="100">  </td>
138            <th>
139              <a href="../../../nn/math/MTX44/GetRow.html"><CODE>GetRow</CODE></a>
140            </th>
141<td>Gets a row as a <CODE><a href="../../../nn/math/VEC4/Overview.html">VEC4</a></CODE>-type value.</td>
142          </tr>
143          <tr>
144            <td width="100">  </td>
145            <th>
146              <a href="../../../nn/math/MTX44/GetColumn.html"><CODE>GetColumn</CODE></a>
147            </th>
148<td>Gets a column as a <CODE><a href="../../../nn/math/VEC4/Overview.html">VEC4</a></CODE>-type value.</td>
149          </tr>
150          <tr>
151            <td width="100">  </td>
152            <th>
153              <a href="../../../nn/math/MTX44/SetColumn.html"><CODE>SetColumn</CODE></a>
154            </th>
155<td>Sets a column as a <CODE><a href="../../../nn/math/VEC4/Overview.html">VEC4</a></CODE>-type value.</td>
156          </tr>
157          <tr>
158            <th class="category" colspan="3">Operators</th>
159          </tr>
160          <tr>
161            <td width="100">  </td>
162            <th>
163              <a href="../../../nn/math/MTX44/operator-2a=.html"><CODE>operator*=</CODE></a>
164            </th>
165            <td>Assigns the values of a post-multiplied matrix.</td>
166          </tr>
167          <tr>
168            <td width="100">  </td>
169            <th>
170              <a href="../../../nn/math/MTX44/operator+=.html"><CODE>operator+=</CODE></a>
171            </th>
172<td>Assigns the values after matrix addition.</td>
173          </tr>
174          <tr>
175            <td width="100">  </td>
176            <th>
177              <a href="../../../nn/math/MTX44/operator-2d=.html"><CODE>operator-=</CODE></a>
178            </th>
179<td>Assigns the values after matrix subtraction.</td>
180          </tr>
181          <tr>
182            <td width="100">  </td>
183            <th>
184              <a href="../../../nn/math/MTX44/operator-2f=.html"><CODE>operator/=</CODE></a>
185            </th>
186<td>Assigns the values after matrix division.</td>
187          </tr>
188          <tr>
189            <td width="100">  </td>
190            <th>
191              <a href="../../../nn/math/MTX44/operator+.html"><CODE>operator+</CODE></a>
192            </th>
193<td>Returns its own matrix.</td>
194          </tr>
195          <tr>
196            <td width="100">  </td>
197            <th>
198              <a href="../../../nn/math/MTX44/operator-2d.html"><CODE>operator-</CODE></a>
199            </th>
200<td>Returns the conjugate of the matrix.</td>
201          </tr>
202          <tr>
203            <td width="100">  </td>
204            <th>
205              <a href="../../../nn/math/MTX44/operator-2a.html"><CODE>operator *</CODE></a>
206            </th>
207<td>Returns the result of matrix multiplication.</td>
208          </tr>
209          <tr>
210            <td width="100">  </td>
211            <th>
212              <a href="../../../nn/math/MTX44/operator-2f.html"><CODE>operator/</CODE></a>
213            </th>
214<td>Returns the result of matrix division.</td>
215          </tr>
216          <tr>
217            <td width="100">  </td>
218            <th>
219              <a href="../../../nn/math/MTX44/Transpose.html"><CODE>Transpose</CODE></a>
220            </th>
221            <td>Calculates the transpose.</td>
222          </tr>
223          <tr>
224            <th class="category" colspan="3">Settings</th>
225          </tr>
226          <tr>
227            <td width="100">  </td>
228            <th>
229              <a href="../../../nn/math/MTX44/SetupIdentity.html"><CODE>SetupIdentity</CODE></a>
230            </th>
231            <td>Sets as the identity matrix.</td>
232          </tr>
233          <tr>
234            <td width="100">  </td>
235            <th>
236              <a href="../../../nn/math/MTX44/SetupScale.html"><CODE>SetupScale</CODE></a>
237            </th>
238            <td>Sets up a scaling matrix.</td>
239          </tr>
240          <tr>
241            <td width="100">  </td>
242            <th>
243              <a href="../../../nn/math/MTX44/SetupTranslate.html"><CODE>SetupTranslate</CODE></a>
244            </th>
245            <td>Sets up a translation matrix.</td>
246          </tr>
247          <tr>
248            <td width="100">  </td>
249            <th>
250              <a href="../../../nn/math/MTX44/SetupRotateXyz.html"><CODE>SetupRotateXyz</CODE></a>
251            </th>
252            <td>Sets up a rotation matrix in XYZ order.</td>
253          </tr>
254          <tr>
255            <td width="100">  </td>
256            <th>
257              <a href="../../../nn/math/MTX44/SetupRotate.html"><CODE>SetupRotate</CODE></a>
258            </th>
259            <td>Sets up a rotation matrix around the specified axis.</td>
260          </tr>
261          <tr>
262            <td width="100">  </td>
263            <th>
264              <a href="../../../nn/math/MTX44/SetupFrustum.html"><CODE>SetupFrustum</CODE></a>
265            </th>
266            <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>
267          </tr>
268          <tr>
269            <td width="100">  </td>
270            <th>
271              <a href="../../../nn/math/MTX44/SetupOrtho.html"><CODE>SetupOrtho</CODE></a>
272            </th>
273            <td>Sets up an orthographic projection matrix. <BR><B>Note:</B> The order of the arguments follows the OpenGL standard.</td>
274          </tr>
275          <tr>
276            <td width="100">  </td>
277            <th>
278              <a href="../../../nn/math/MTX44/SetupPerspective.html"><CODE>SetupPerspective</CODE></a>
279            </th>
280            <td>Sets up a projection matrix based on field-of-view angle and aspect ratio.</td>
281          </tr>
282          <tr>
283            <th class="category" colspan="3">Comparisons</th>
284          </tr>
285          <tr>
286            <td width="100">  </td>
287            <th>
288              <a href="../../../nn/math/MTX44/operator==.html"><CODE>operator==</CODE></a>
289            </th>
290            <td>Returns <CODE>true</CODE> if the values are equal.</td>
291          </tr>
292          <tr>
293            <td width="100">  </td>
294            <th>
295              <a href="../../../nn/math/MTX44/operator!=.html"><CODE>operator!=</CODE></a>
296            </th>
297            <td>Returns <CODE>true</CODE> if the values are not equal.</td>
298          </tr>
299          <tr>
300            <td width="100">  </td>
301            <th>
302              <a href="../../../nn/math/MTX44/IsIdentity.html"><CODE>IsIdentity</CODE></a>
303            </th>
304            <td>Returns <CODE>true</CODE> if this is an identity matrix.</td>
305          </tr>
306          <tr>
307            <th class="category" colspan="3">Other</th>
308          </tr>
309          <tr>
310            <td width="100">
311              <span class="static_style" title="static">S</span> </td>
312            <th>
313              <a href="../../../nn/math/MTX44/Identity.html"><CODE>Identity</CODE></a>
314            </th>
315            <td>The identity matrix.</td>
316          </tr>
317          <tr>
318            <td width="100">  </td>
319            <th>
320              <a href="../../../nn/math/MTX44/Report.html"><CODE>Report</CODE></a>
321            </th>
322            <td>Writes matrix contents to debug output.</td>
323          </tr> </table>
324      </div>
325    </a>
326    <h2>Class Hierarchy</h2>
327    <div class="section">
328      <p class="hierarchy"><a href="../../../nn/math/MTX44_/Overview.html">nn::math::MTX44_</a><br />&nbsp;&nbsp;<b>nn::math::MTX44</b>
329      </p>
330    </div>
331    <h2>Revision History</h2>
332    <div class="section">
333      <dl class="history">
334        <dt>2010/01/29</dt>
335        <dd>Initial version.<br />
336        </dd>
337      </dl>
338    </div>
339  <hr><p>CONFIDENTIAL</p></body>
340</html>