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::MTX23</title> 51 </head> 52 <body> 53 <h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/math/Overview.html">math</a>::MTX23</CODE> Class</h1> 54 <h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">class MTX23 : public <a href="../../../nn/math/MTX23_/Overview.html">nn::math::MTX23_</a></pre> 57 </div> 58 <h2>Description</h2> 59 <div class="section"> 60 <p>A 2x3 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/MTX23/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/MTX23/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/MTX23/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/MTX23/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/MTX23/MTX23.html"><CODE>MTX23</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/MTX23/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/MTX23/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/MTX23/GetRow.html"><CODE>GetRow</CODE></a> 140 </th> 141 <td>Gets a row as a <CODE><a href="../../../nn/math/VEC2/Overview.html">VEC2</a></CODE>-type value.</td> 142 </tr> 143 <tr> 144 <td width="100"> </td> 145 <th> 146 <a href="../../../nn/math/MTX23/GetColumn.html"><CODE>GetColumn</CODE></a> 147 </th> 148<td>Gets a column as a <CODE><a href="../../../nn/math/VEC3/Overview.html">VEC3</a></CODE>-type value.</td> 149 </tr> 150 <tr> 151 <td width="100"> </td> 152 <th> 153 <a href="../../../nn/math/MTX23/SetColumn.html"><CODE>SetColumn</CODE></a> 154 </th> 155<td>Sets a column as a <CODE><a href="../../../nn/math/VEC3/Overview.html">VEC3</a></CODE>-type value.</td> 156 </tr> 157 <tr> 158 <th class="category" colspan="3">Settings</th> 159 </tr> 160 <tr> 161 <td width="100"> </td> 162 <th> 163 <a href="../../../nn/math/MTX23/SetupIdentity.html"><CODE>SetupIdentity</CODE></a> 164 </th> 165 <td>Sets as the identity matrix.</td> 166 </tr> 167 <tr> 168 <td width="100"> </td> 169 <th> 170 <a href="../../../nn/math/MTX23/SetupScale.html"><CODE>SetupScale</CODE></a> 171 </th> 172 <td>Sets up a scaling matrix.</td> 173 </tr> 174 <tr> 175 <td width="100"> </td> 176 <th> 177 <a href="../../../nn/math/MTX23/SetupTranslate.html"><CODE>SetupTranslate</CODE></a> 178 </th> 179 <td>Sets up a translation matrix.</td> 180 </tr> 181 <tr> 182 <td width="100"> </td> 183 <th> 184 <a href="../../../nn/math/MTX23/SetupRotate.html"><CODE>SetupRotate</CODE></a> 185 </th> 186 <td>Sets up a rotation matrix in XYZ order.</td> 187 </tr> 188 <tr> 189 <th class="category" colspan="3">Operators</th> 190 </tr> 191 <tr> 192 <td width="100"> </td> 193 <th> 194 <a href="../../../nn/math/MTX23/operator+=.html"><CODE>operator+=</CODE></a> 195 </th> 196<td>Assigns the values after matrix addition.</td> 197 </tr> 198 <tr> 199 <td width="100"> </td> 200 <th> 201 <a href="../../../nn/math/MTX23/operator-2d=.html"><CODE>operator-=</CODE></a> 202 </th> 203<td>Assigns the values after matrix subtraction.</td> 204 </tr> 205 <tr> 206 <td width="100"> </td> 207 <th> 208 <a href="../../../nn/math/MTX23/operator-2a=.html"><CODE>operator*=</CODE></a> 209 </th> 210<td>Assigns the values after matrix multiplication.</td> 211 </tr> 212 <tr> 213 <td width="100"> </td> 214 <th> 215 <a href="../../../nn/math/MTX23/operator-2f=.html"><CODE>operator/=</CODE></a> 216 </th> 217<td>Assigns the values after matrix division.</td> 218 </tr> 219 <tr> 220 <td width="100"> </td> 221 <th> 222 <a href="../../../nn/math/MTX23/operator+.html"><CODE>operator+</CODE></a> 223 </th> 224<td>Returns its own matrix.</td> 225 </tr> 226 <tr> 227 <td width="100"> </td> 228 <th> 229 <a href="../../../nn/math/MTX23/operator-2d.html"><CODE>operator-</CODE></a> 230 </th> 231<td>Returns the conjugate of the matrix.</td> 232 </tr> 233 <tr> 234 <td width="100"> </td> 235 <th> 236 <a href="../../../nn/math/MTX23/operator-2a.html"><CODE>operator *</CODE></a> 237 </th> 238<td>Returns the result of matrix multiplication.</td> 239 </tr> 240 <tr> 241 <td width="100"> </td> 242 <th> 243 <a href="../../../nn/math/MTX23/operator-2f.html"><CODE>operator/</CODE></a> 244 </th> 245<td>Returns the result of matrix division.</td> 246 </tr> 247 <tr> 248 <th class="category" colspan="3">Comparisons</th> 249 </tr> 250 <tr> 251 <td width="100"> </td> 252 <th> 253 <a href="../../../nn/math/MTX23/operator==.html"><CODE>operator==</CODE></a> 254 </th> 255 <td>Returns <CODE>true</CODE> if the values are equal.</td> 256 </tr> 257 <tr> 258 <td width="100"> </td> 259 <th> 260 <a href="../../../nn/math/MTX23/operator!=.html"><CODE>operator!=</CODE></a> 261 </th> 262 <td>Returns <CODE>true</CODE> if the values are not equal.</td> 263 </tr> 264 <tr> 265 <td width="100"> </td> 266 <th> 267 <a href="../../../nn/math/MTX23/IsIdentity.html"><CODE>IsIdentity</CODE></a> 268 </th> 269 <td>Returns <CODE>true</CODE> if this is an identity matrix.</td> 270 </tr> 271 <tr> 272 <th class="category" colspan="3">Other</th> 273 </tr> 274 <tr> 275 <td width="100"> 276 <span class="static_style" title="static">S</span> </td> 277 <th> 278 <a href="../../../nn/math/MTX23/Identity.html"><CODE>Identity</CODE></a> 279 </th> 280 <td>The identity matrix.</td> 281 </tr> 282 <tr> 283 <td width="100"> </td> 284 <th> 285 <a href="../../../nn/math/MTX23/Report.html"><CODE>Report</CODE></a> 286 </th> 287 <td>Outputs the state.</td> 288 </tr> </table> 289 </div> 290 </a> 291 <h2>Class Hierarchy</h2> 292 <div class="section"> 293 <p class="hierarchy"><CODE><a href="../../../nn/math/MTX23_/Overview.html">nn::math::MTX23_</a><br /> <b>nn::math::MTX23</b></CODE> 294 </p> 295 </div> 296 <h2>Revision History</h2> 297 <div class="section"> 298 <dl class="history"> 299 <dt>2010/02/09</dt> 300 <dd>Initial version.<br /> 301 </dd> 302 </dl> 303 </div> 304 <hr><p>CONFIDENTIAL</p></body> 305</html>