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::MTX34</title> 49 </head> 50 <body> 51<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/math/Overview.html">math</a>::MTX34</CODE> Structure</h1> 52<h2>Syntax</h2> 53 <div class="section"> 54<pre class="definition">struct MTX34 : public nn::math::MTX34_</pre> 55 </div> 56<h2>Description</h2> 57 <div class="section"> 58<p>A 3x4 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/MTX34/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/MTX34/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/MTX34/ROW_COUNT.html"><CODE>ROW_COUNT</CODE></a></span> 88 </th> 89<td width="100">const int</td> 90<td>The number of rows.</td> 91 </tr> 92 <tr> 93 <td width="100"> 94<span class="static_style" title="static">S</span> 95 </td> 96 <th> 97<span class="argument"><a href="../../../nn/math/MTX34/COLUMN_COUNT.html"><CODE>COLUMN_COUNT</CODE></a></span> 98 </th> 99<td width="100">const int</td> 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/MTX34/MTX34.html"><CODE>MTX34</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/MTX34/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/MTX34/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/MTX34/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/MTX34/GetColumn.html"><CODE>GetColumn</CODE></a> 145 </th> 146<td>Gets a column as a <CODE><a href="../../../nn/math/VEC3/Overview.html">VEC3</a></CODE>-type value.</td> 147 </tr> 148 <tr> 149 <td width="100"> </td> 150 <th> 151<a href="../../../nn/math/MTX34/SetColumn.html"><CODE>SetColumn</CODE></a> 152 </th> 153<td>Sets a column as a <CODE><a href="../../../nn/math/VEC3/Overview.html">VEC3</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/MTX34/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/MTX34/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/MTX34/SetupIdentity.html"><CODE>SetupIdentity</CODE></a> 179 </th> 180<td>Sets as the identity matrix.</td> 181 </tr> 182 <tr> 183 <td width="100"> </td> 184 <th> 185<a href="../../../nn/math/MTX34/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/MTX34/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/MTX34/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/MTX34/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/MTX34/SetupLookAt.html"><CODE>SetupLookAt</CODE></a> 214 </th> 215<td>Sets the camera matrix.</td> 216 </tr> 217 <tr> 218 <td width="100"> </td> 219 <th> 220<a href="../../../nn/math/MTX34/SetupCameraRotate.html"><CODE>SetupCameraRotate</CODE></a> 221 </th> 222<td>Sets the camera matrix.</td> 223 </tr> 224 <tr> 225 <td width="100"> </td> 226 <th> 227<a href="../../../nn/math/MTX34/SetupTextureProjectionFrustum.html"><CODE>SetupTextureProjectionFrustum</CODE></a> 228 </th> 229<td>Creates a texture projection matrix based on the viewing frustum.</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/MTX34/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/MTX34/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/MTX34/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/MTX34/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/MTX34/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::MTX34_</span><br /> <b>nn::math::MTX34</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> 290