Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1107 | chris | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 | <!-- NewPage --> |
||
| 3 | <html lang="en"> |
||
| 4 | <head> |
||
| 5 | <!-- Generated by javadoc (version 1.7.0_17) on Sun Nov 03 15:35:42 CET 2013 --> |
||
| 6 | <title>Matrix4 (libgdx API)</title> |
||
| 7 | <meta name="date" content="2013-11-03"> |
||
| 8 | <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
||
| 9 | </head> |
||
| 10 | <body> |
||
| 11 | <script type="text/javascript"><!-- |
||
| 12 | if (location.href.indexOf('is-external=true') == -1) { |
||
| 13 | parent.document.title="Matrix4 (libgdx API)"; |
||
| 14 | } |
||
| 15 | //--> |
||
| 16 | </script> |
||
| 17 | <noscript> |
||
| 18 | <div>JavaScript is disabled on your browser.</div> |
||
| 19 | </noscript> |
||
| 20 | <!-- ========= START OF TOP NAVBAR ======= --> |
||
| 21 | <div class="topNav"><a name="navbar_top"> |
||
| 22 | <!-- --> |
||
| 23 | </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
||
| 24 | <!-- --> |
||
| 25 | </a> |
||
| 26 | <ul class="navList" title="Navigation"> |
||
| 27 | <li><a href="../../../../overview-summary.html">Overview</a></li> |
||
| 28 | <li><a href="package-summary.html">Package</a></li> |
||
| 29 | <li class="navBarCell1Rev">Class</li> |
||
| 30 | <li><a href="class-use/Matrix4.html">Use</a></li> |
||
| 31 | <li><a href="package-tree.html">Tree</a></li> |
||
| 32 | <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
||
| 33 | <li><a href="../../../../index-all.html">Index</a></li> |
||
| 34 | <li><a href="../../../../help-doc.html">Help</a></li> |
||
| 35 | </ul> |
||
| 36 | <div class="aboutLanguage"><em> |
||
| 37 | libgdx API |
||
| 38 | <style> |
||
| 39 | body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt } |
||
| 40 | pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif } |
||
| 41 | h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%; font-weight:bold } |
||
| 42 | .TableHeadingColor { background:#EEEEFF; } |
||
| 43 | a { text-decoration:none } |
||
| 44 | a:hover { text-decoration:underline } |
||
| 45 | a:link, a:visited { color:blue } |
||
| 46 | table { border:0px } |
||
| 47 | .TableRowColor td:first-child { border-left:1px solid black } |
||
| 48 | .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black } |
||
| 49 | hr { border:0px; border-bottom:1px solid #333366; } |
||
| 50 | </style> |
||
| 51 | </em></div> |
||
| 52 | </div> |
||
| 53 | <div class="subNav"> |
||
| 54 | <ul class="navList"> |
||
| 55 | <li><a href="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math"><span class="strong">Prev Class</span></a></li> |
||
| 56 | <li><a href="../../../../com/badlogic/gdx/math/Path.html" title="interface in com.badlogic.gdx.math"><span class="strong">Next Class</span></a></li> |
||
| 57 | </ul> |
||
| 58 | <ul class="navList"> |
||
| 59 | <li><a href="../../../../index.html?com/badlogic/gdx/math/Matrix4.html" target="_top">Frames</a></li> |
||
| 60 | <li><a href="Matrix4.html" target="_top">No Frames</a></li> |
||
| 61 | </ul> |
||
| 62 | <ul class="navList" id="allclasses_navbar_top"> |
||
| 63 | <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
||
| 64 | </ul> |
||
| 65 | <div> |
||
| 66 | <script type="text/javascript"><!-- |
||
| 67 | allClassesLink = document.getElementById("allclasses_navbar_top"); |
||
| 68 | if(window==top) { |
||
| 69 | allClassesLink.style.display = "block"; |
||
| 70 | } |
||
| 71 | else { |
||
| 72 | allClassesLink.style.display = "none"; |
||
| 73 | } |
||
| 74 | //--> |
||
| 75 | </script> |
||
| 76 | </div> |
||
| 77 | <div> |
||
| 78 | <ul class="subNavList"> |
||
| 79 | <li>Summary: </li> |
||
| 80 | <li>Nested | </li> |
||
| 81 | <li><a href="#field_summary">Field</a> | </li> |
||
| 82 | <li><a href="#constructor_summary">Constr</a> | </li> |
||
| 83 | <li><a href="#method_summary">Method</a></li> |
||
| 84 | </ul> |
||
| 85 | <ul class="subNavList"> |
||
| 86 | <li>Detail: </li> |
||
| 87 | <li><a href="#field_detail">Field</a> | </li> |
||
| 88 | <li><a href="#constructor_detail">Constr</a> | </li> |
||
| 89 | <li><a href="#method_detail">Method</a></li> |
||
| 90 | </ul> |
||
| 91 | </div> |
||
| 92 | <a name="skip-navbar_top"> |
||
| 93 | <!-- --> |
||
| 94 | </a></div> |
||
| 95 | <!-- ========= END OF TOP NAVBAR ========= --> |
||
| 96 | <!-- ======== START OF CLASS DATA ======== --> |
||
| 97 | <div class="header"> |
||
| 98 | <div class="subTitle">com.badlogic.gdx.math</div> |
||
| 99 | <h2 title="Class Matrix4" class="title">Class Matrix4</h2> |
||
| 100 | </div> |
||
| 101 | <div class="contentContainer"> |
||
| 102 | <ul class="inheritance"> |
||
| 103 | <li>java.lang.Object</li> |
||
| 104 | <li> |
||
| 105 | <ul class="inheritance"> |
||
| 106 | <li>com.badlogic.gdx.math.Matrix4</li> |
||
| 107 | </ul> |
||
| 108 | </li> |
||
| 109 | </ul> |
||
| 110 | <div class="description"> |
||
| 111 | <ul class="blockList"> |
||
| 112 | <li class="blockList"> |
||
| 113 | <dl> |
||
| 114 | <dt>All Implemented Interfaces:</dt> |
||
| 115 | <dd>java.io.Serializable</dd> |
||
| 116 | </dl> |
||
| 117 | <hr> |
||
| 118 | <br> |
||
| 119 | <pre>public class <span class="strong">Matrix4</span> |
||
| 120 | extends java.lang.Object |
||
| 121 | implements java.io.Serializable</pre> |
||
| 122 | <div class="block">Encapsulates a <a href="http://en.wikipedia.org/wiki/Row-major_order#Column-major_order">column major</a> 4 by 4 matrix. |
||
| 123 | Like the <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math"><code>Vector3</code></a> class it allows the chaining of methods by returning a reference to itself. For example: |
||
| 124 | |||
| 125 | <pre> |
||
| 126 | Matrix4 mat = new Matrix4().trn(position).mul(camera.combined); |
||
| 127 | </pre></div> |
||
| 128 | <dl><dt><span class="strong">Author:</span></dt> |
||
| 129 | <dd>badlogicgames@gmail.com</dd> |
||
| 130 | <dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#com.badlogic.gdx.math.Matrix4">Serialized Form</a></dd></dl> |
||
| 131 | </li> |
||
| 132 | </ul> |
||
| 133 | </div> |
||
| 134 | <div class="summary"> |
||
| 135 | <ul class="blockList"> |
||
| 136 | <li class="blockList"> |
||
| 137 | <!-- =========== FIELD SUMMARY =========== --> |
||
| 138 | <ul class="blockList"> |
||
| 139 | <li class="blockList"><a name="field_summary"> |
||
| 140 | <!-- --> |
||
| 141 | </a> |
||
| 142 | <h3>Field Summary</h3> |
||
| 143 | <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
||
| 144 | <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
||
| 145 | <tr> |
||
| 146 | <th class="colFirst" scope="col">Modifier and Type</th> |
||
| 147 | <th class="colLast" scope="col">Field and Description</th> |
||
| 148 | </tr> |
||
| 149 | <tr class="altColor"> |
||
| 150 | <td class="colFirst"><code>static int</code></td> |
||
| 151 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#M00">M00</a></strong></code> </td> |
||
| 152 | </tr> |
||
| 153 | <tr class="rowColor"> |
||
| 154 | <td class="colFirst"><code>static int</code></td> |
||
| 155 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#M01">M01</a></strong></code> </td> |
||
| 156 | </tr> |
||
| 157 | <tr class="altColor"> |
||
| 158 | <td class="colFirst"><code>static int</code></td> |
||
| 159 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#M02">M02</a></strong></code> </td> |
||
| 160 | </tr> |
||
| 161 | <tr class="rowColor"> |
||
| 162 | <td class="colFirst"><code>static int</code></td> |
||
| 163 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#M03">M03</a></strong></code> </td> |
||
| 164 | </tr> |
||
| 165 | <tr class="altColor"> |
||
| 166 | <td class="colFirst"><code>static int</code></td> |
||
| 167 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#M10">M10</a></strong></code> </td> |
||
| 168 | </tr> |
||
| 169 | <tr class="rowColor"> |
||
| 170 | <td class="colFirst"><code>static int</code></td> |
||
| 171 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#M11">M11</a></strong></code> </td> |
||
| 172 | </tr> |
||
| 173 | <tr class="altColor"> |
||
| 174 | <td class="colFirst"><code>static int</code></td> |
||
| 175 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#M12">M12</a></strong></code> </td> |
||
| 176 | </tr> |
||
| 177 | <tr class="rowColor"> |
||
| 178 | <td class="colFirst"><code>static int</code></td> |
||
| 179 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#M13">M13</a></strong></code> </td> |
||
| 180 | </tr> |
||
| 181 | <tr class="altColor"> |
||
| 182 | <td class="colFirst"><code>static int</code></td> |
||
| 183 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#M20">M20</a></strong></code> </td> |
||
| 184 | </tr> |
||
| 185 | <tr class="rowColor"> |
||
| 186 | <td class="colFirst"><code>static int</code></td> |
||
| 187 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#M21">M21</a></strong></code> </td> |
||
| 188 | </tr> |
||
| 189 | <tr class="altColor"> |
||
| 190 | <td class="colFirst"><code>static int</code></td> |
||
| 191 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#M22">M22</a></strong></code> </td> |
||
| 192 | </tr> |
||
| 193 | <tr class="rowColor"> |
||
| 194 | <td class="colFirst"><code>static int</code></td> |
||
| 195 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#M23">M23</a></strong></code> </td> |
||
| 196 | </tr> |
||
| 197 | <tr class="altColor"> |
||
| 198 | <td class="colFirst"><code>static int</code></td> |
||
| 199 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#M30">M30</a></strong></code> </td> |
||
| 200 | </tr> |
||
| 201 | <tr class="rowColor"> |
||
| 202 | <td class="colFirst"><code>static int</code></td> |
||
| 203 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#M31">M31</a></strong></code> </td> |
||
| 204 | </tr> |
||
| 205 | <tr class="altColor"> |
||
| 206 | <td class="colFirst"><code>static int</code></td> |
||
| 207 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#M32">M32</a></strong></code> </td> |
||
| 208 | </tr> |
||
| 209 | <tr class="rowColor"> |
||
| 210 | <td class="colFirst"><code>static int</code></td> |
||
| 211 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#M33">M33</a></strong></code> </td> |
||
| 212 | </tr> |
||
| 213 | <tr class="altColor"> |
||
| 214 | <td class="colFirst"><code>float[]</code></td> |
||
| 215 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#tmp">tmp</a></strong></code> </td> |
||
| 216 | </tr> |
||
| 217 | <tr class="rowColor"> |
||
| 218 | <td class="colFirst"><code>float[]</code></td> |
||
| 219 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#val">val</a></strong></code> </td> |
||
| 220 | </tr> |
||
| 221 | </table> |
||
| 222 | </li> |
||
| 223 | </ul> |
||
| 224 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
||
| 225 | <ul class="blockList"> |
||
| 226 | <li class="blockList"><a name="constructor_summary"> |
||
| 227 | <!-- --> |
||
| 228 | </a> |
||
| 229 | <h3>Constructor Summary</h3> |
||
| 230 | <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
||
| 231 | <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
||
| 232 | <tr> |
||
| 233 | <th class="colOne" scope="col">Constructor and Description</th> |
||
| 234 | </tr> |
||
| 235 | <tr class="altColor"> |
||
| 236 | <td class="colOne"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#Matrix4()">Matrix4</a></strong>()</code> |
||
| 237 | <div class="block">Constructs an identity matrix</div> |
||
| 238 | </td> |
||
| 239 | </tr> |
||
| 240 | <tr class="rowColor"> |
||
| 241 | <td class="colOne"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#Matrix4(float[])">Matrix4</a></strong>(float[] values)</code> |
||
| 242 | <div class="block">Constructs a matrix from the given float array.</div> |
||
| 243 | </td> |
||
| 244 | </tr> |
||
| 245 | <tr class="altColor"> |
||
| 246 | <td class="colOne"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#Matrix4(com.badlogic.gdx.math.Matrix4)">Matrix4</a></strong>(<a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> matrix)</code> |
||
| 247 | <div class="block">Constructs a matrix from the given matrix.</div> |
||
| 248 | </td> |
||
| 249 | </tr> |
||
| 250 | <tr class="rowColor"> |
||
| 251 | <td class="colOne"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#Matrix4(com.badlogic.gdx.math.Quaternion)">Matrix4</a></strong>(<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a> quaternion)</code> |
||
| 252 | <div class="block">Constructs a rotation matrix from the given <a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math"><code>Quaternion</code></a>.</div> |
||
| 253 | </td> |
||
| 254 | </tr> |
||
| 255 | <tr class="altColor"> |
||
| 256 | <td class="colOne"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#Matrix4(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Quaternion, com.badlogic.gdx.math.Vector3)">Matrix4</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> position, |
||
| 257 | <a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a> rotation, |
||
| 258 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> scale)</code> |
||
| 259 | <div class="block">Construct a matrix from the given translation, rotation and scale.</div> |
||
| 260 | </td> |
||
| 261 | </tr> |
||
| 262 | </table> |
||
| 263 | </li> |
||
| 264 | </ul> |
||
| 265 | <!-- ========== METHOD SUMMARY =========== --> |
||
| 266 | <ul class="blockList"> |
||
| 267 | <li class="blockList"><a name="method_summary"> |
||
| 268 | <!-- --> |
||
| 269 | </a> |
||
| 270 | <h3>Method Summary</h3> |
||
| 271 | <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
||
| 272 | <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
||
| 273 | <tr> |
||
| 274 | <th class="colFirst" scope="col">Modifier and Type</th> |
||
| 275 | <th class="colLast" scope="col">Method and Description</th> |
||
| 276 | </tr> |
||
| 277 | <tr class="altColor"> |
||
| 278 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 279 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#cpy()">cpy</a></strong>()</code> </td> |
||
| 280 | </tr> |
||
| 281 | <tr class="rowColor"> |
||
| 282 | <td class="colFirst"><code>float</code></td> |
||
| 283 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#det()">det</a></strong>()</code> </td> |
||
| 284 | </tr> |
||
| 285 | <tr class="altColor"> |
||
| 286 | <td class="colFirst"><code>static float</code></td> |
||
| 287 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#det(float[])">det</a></strong>(float[] values)</code> |
||
| 288 | <div class="block">Computes the determinante of the given matrix.</div> |
||
| 289 | </td> |
||
| 290 | </tr> |
||
| 291 | <tr class="rowColor"> |
||
| 292 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a></code></td> |
||
| 293 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#getRotation(com.badlogic.gdx.math.Quaternion)">getRotation</a></strong>(<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a> rotation)</code> </td> |
||
| 294 | </tr> |
||
| 295 | <tr class="altColor"> |
||
| 296 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a></code></td> |
||
| 297 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#getScale(com.badlogic.gdx.math.Vector3)">getScale</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> scale)</code> </td> |
||
| 298 | </tr> |
||
| 299 | <tr class="rowColor"> |
||
| 300 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a></code></td> |
||
| 301 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#getTranslation(com.badlogic.gdx.math.Vector3)">getTranslation</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> position)</code> </td> |
||
| 302 | </tr> |
||
| 303 | <tr class="altColor"> |
||
| 304 | <td class="colFirst"><code>float[]</code></td> |
||
| 305 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#getValues()">getValues</a></strong>()</code> </td> |
||
| 306 | </tr> |
||
| 307 | <tr class="rowColor"> |
||
| 308 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 309 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#idt()">idt</a></strong>()</code> |
||
| 310 | <div class="block">Sets the matrix to an identity matrix.</div> |
||
| 311 | </td> |
||
| 312 | </tr> |
||
| 313 | <tr class="altColor"> |
||
| 314 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 315 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#inv()">inv</a></strong>()</code> |
||
| 316 | <div class="block">Inverts the matrix.</div> |
||
| 317 | </td> |
||
| 318 | </tr> |
||
| 319 | <tr class="rowColor"> |
||
| 320 | <td class="colFirst"><code>static boolean</code></td> |
||
| 321 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#inv(float[])">inv</a></strong>(float[] values)</code> |
||
| 322 | <div class="block">Computes the inverse of the given matrix.</div> |
||
| 323 | </td> |
||
| 324 | </tr> |
||
| 325 | <tr class="altColor"> |
||
| 326 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 327 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#lerp(com.badlogic.gdx.math.Matrix4, float)">lerp</a></strong>(<a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> matrix, |
||
| 328 | float alpha)</code> |
||
| 329 | <div class="block">Linearly interpolates between this matrix and the given matrix mixing by alpha</div> |
||
| 330 | </td> |
||
| 331 | </tr> |
||
| 332 | <tr class="rowColor"> |
||
| 333 | <td class="colFirst"><code>static void</code></td> |
||
| 334 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#mul(float[], float[])">mul</a></strong>(float[] mata, |
||
| 335 | float[] matb)</code> |
||
| 336 | <div class="block">Multiplies the matrix mata with matrix matb, storing the result in mata.</div> |
||
| 337 | </td> |
||
| 338 | </tr> |
||
| 339 | <tr class="altColor"> |
||
| 340 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 341 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#mul(com.badlogic.gdx.math.Matrix4)">mul</a></strong>(<a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> matrix)</code> |
||
| 342 | <div class="block">Postmultiplies this matrix with the given matrix, storing the result in this matrix.</div> |
||
| 343 | </td> |
||
| 344 | </tr> |
||
| 345 | <tr class="rowColor"> |
||
| 346 | <td class="colFirst"><code>static void</code></td> |
||
| 347 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#mulVec(float[], float[])">mulVec</a></strong>(float[] mat, |
||
| 348 | float[] vec)</code> |
||
| 349 | <div class="block">Multiplies the vector with the given matrix.</div> |
||
| 350 | </td> |
||
| 351 | </tr> |
||
| 352 | <tr class="altColor"> |
||
| 353 | <td class="colFirst"><code>static void</code></td> |
||
| 354 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#mulVec(float[], float[], int, int, int)">mulVec</a></strong>(float[] mat, |
||
| 355 | float[] vecs, |
||
| 356 | int offset, |
||
| 357 | int numVecs, |
||
| 358 | int stride)</code> |
||
| 359 | <div class="block">Multiplies the vectors with the given matrix.</div> |
||
| 360 | </td> |
||
| 361 | </tr> |
||
| 362 | <tr class="rowColor"> |
||
| 363 | <td class="colFirst"><code>static void</code></td> |
||
| 364 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#prj(float[], float[])">prj</a></strong>(float[] mat, |
||
| 365 | float[] vec)</code> |
||
| 366 | <div class="block">Multiplies the vector with the given matrix, performing a division by w.</div> |
||
| 367 | </td> |
||
| 368 | </tr> |
||
| 369 | <tr class="altColor"> |
||
| 370 | <td class="colFirst"><code>static void</code></td> |
||
| 371 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#prj(float[], float[], int, int, int)">prj</a></strong>(float[] mat, |
||
| 372 | float[] vecs, |
||
| 373 | int offset, |
||
| 374 | int numVecs, |
||
| 375 | int stride)</code> |
||
| 376 | <div class="block">Multiplies the vectors with the given matrix, , performing a division by w.</div> |
||
| 377 | </td> |
||
| 378 | </tr> |
||
| 379 | <tr class="rowColor"> |
||
| 380 | <td class="colFirst"><code>static void</code></td> |
||
| 381 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#rot(float[], float[])">rot</a></strong>(float[] mat, |
||
| 382 | float[] vec)</code> |
||
| 383 | <div class="block">Multiplies the vector with the top most 3x3 sub-matrix of the given matrix.</div> |
||
| 384 | </td> |
||
| 385 | </tr> |
||
| 386 | <tr class="altColor"> |
||
| 387 | <td class="colFirst"><code>static void</code></td> |
||
| 388 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#rot(float[], float[], int, int, int)">rot</a></strong>(float[] mat, |
||
| 389 | float[] vecs, |
||
| 390 | int offset, |
||
| 391 | int numVecs, |
||
| 392 | int stride)</code> |
||
| 393 | <div class="block">Multiplies the vectors with the top most 3x3 sub-matrix of the given matrix.</div> |
||
| 394 | </td> |
||
| 395 | </tr> |
||
| 396 | <tr class="rowColor"> |
||
| 397 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 398 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#rotate(float, float, float, float)">rotate</a></strong>(float axisX, |
||
| 399 | float axisY, |
||
| 400 | float axisZ, |
||
| 401 | float degrees)</code> |
||
| 402 | <div class="block">Postmultiplies this matrix with a (counter-clockwise) rotation matrix.</div> |
||
| 403 | </td> |
||
| 404 | </tr> |
||
| 405 | <tr class="altColor"> |
||
| 406 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 407 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#rotate(com.badlogic.gdx.math.Quaternion)">rotate</a></strong>(<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a> rotation)</code> |
||
| 408 | <div class="block">Postmultiplies this matrix with a (counter-clockwise) rotation matrix.</div> |
||
| 409 | </td> |
||
| 410 | </tr> |
||
| 411 | <tr class="rowColor"> |
||
| 412 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 413 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#rotate(com.badlogic.gdx.math.Vector3, float)">rotate</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> axis, |
||
| 414 | float degrees)</code> |
||
| 415 | <div class="block">Postmultiplies this matrix with a (counter-clockwise) rotation matrix.</div> |
||
| 416 | </td> |
||
| 417 | </tr> |
||
| 418 | <tr class="altColor"> |
||
| 419 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 420 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#rotate(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)">rotate</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> v1, |
||
| 421 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> v2)</code> |
||
| 422 | <div class="block">Postmultiplies this matrix by the rotation between two vectors.</div> |
||
| 423 | </td> |
||
| 424 | </tr> |
||
| 425 | <tr class="rowColor"> |
||
| 426 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 427 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#scale(float, float, float)">scale</a></strong>(float scaleX, |
||
| 428 | float scaleY, |
||
| 429 | float scaleZ)</code> |
||
| 430 | <div class="block">Postmultiplies this matrix with a scale matrix.</div> |
||
| 431 | </td> |
||
| 432 | </tr> |
||
| 433 | <tr class="altColor"> |
||
| 434 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 435 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#scl(float)">scl</a></strong>(float scale)</code> </td> |
||
| 436 | </tr> |
||
| 437 | <tr class="rowColor"> |
||
| 438 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 439 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#scl(float, float, float)">scl</a></strong>(float x, |
||
| 440 | float y, |
||
| 441 | float z)</code> </td> |
||
| 442 | </tr> |
||
| 443 | <tr class="altColor"> |
||
| 444 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 445 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#scl(com.badlogic.gdx.math.Vector3)">scl</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> scale)</code> </td> |
||
| 446 | </tr> |
||
| 447 | <tr class="rowColor"> |
||
| 448 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 449 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#set(float[])">set</a></strong>(float[] values)</code> |
||
| 450 | <div class="block">Sets the matrix to the given matrix as a float array.</div> |
||
| 451 | </td> |
||
| 452 | </tr> |
||
| 453 | <tr class="altColor"> |
||
| 454 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 455 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#set(float, float, float, float)">set</a></strong>(float x, |
||
| 456 | float y, |
||
| 457 | float z, |
||
| 458 | float w)</code> |
||
| 459 | <div class="block">Sets the matrix to a rotation matrix representing the quaternion.</div> |
||
| 460 | </td> |
||
| 461 | </tr> |
||
| 462 | <tr class="rowColor"> |
||
| 463 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 464 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#set(com.badlogic.gdx.math.Matrix3)">set</a></strong>(<a href="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</a> mat)</code> |
||
| 465 | <div class="block">Sets this matrix to the given 3x3 matrix.</div> |
||
| 466 | </td> |
||
| 467 | </tr> |
||
| 468 | <tr class="altColor"> |
||
| 469 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 470 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#set(com.badlogic.gdx.math.Matrix4)">set</a></strong>(<a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> matrix)</code> |
||
| 471 | <div class="block">Sets the matrix to the given matrix.</div> |
||
| 472 | </td> |
||
| 473 | </tr> |
||
| 474 | <tr class="rowColor"> |
||
| 475 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 476 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#set(com.badlogic.gdx.math.Quaternion)">set</a></strong>(<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a> quaternion)</code> |
||
| 477 | <div class="block">Sets the matrix to a rotation matrix representing the quaternion.</div> |
||
| 478 | </td> |
||
| 479 | </tr> |
||
| 480 | <tr class="altColor"> |
||
| 481 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 482 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#set(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Quaternion, com.badlogic.gdx.math.Vector3)">set</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> position, |
||
| 483 | <a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a> orientation, |
||
| 484 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> scale)</code> |
||
| 485 | <div class="block">Set this matrix to the specified translation, rotation and scale.</div> |
||
| 486 | </td> |
||
| 487 | </tr> |
||
| 488 | <tr class="rowColor"> |
||
| 489 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 490 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#set(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)">set</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> xAxis, |
||
| 491 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> yAxis, |
||
| 492 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> zAxis, |
||
| 493 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> pos)</code> |
||
| 494 | <div class="block">Sets the four columns of the matrix which correspond to the x-, y- and z-axis of the vector space this matrix creates as |
||
| 495 | well as the 4th column representing the translation of any point that is multiplied by this matrix.</div> |
||
| 496 | </td> |
||
| 497 | </tr> |
||
| 498 | <tr class="altColor"> |
||
| 499 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 500 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#setFromEulerAngles(float, float, float)">setFromEulerAngles</a></strong>(float yaw, |
||
| 501 | float pitch, |
||
| 502 | float roll)</code> |
||
| 503 | <div class="block">Sets this matrix to a rotation matrix from the given euler angles.</div> |
||
| 504 | </td> |
||
| 505 | </tr> |
||
| 506 | <tr class="rowColor"> |
||
| 507 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 508 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#setToLookAt(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)">setToLookAt</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> direction, |
||
| 509 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> up)</code> |
||
| 510 | <div class="block">Sets the matrix to a look at matrix with a direction and an up vector.</div> |
||
| 511 | </td> |
||
| 512 | </tr> |
||
| 513 | <tr class="altColor"> |
||
| 514 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 515 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#setToLookAt(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)">setToLookAt</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> position, |
||
| 516 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> target, |
||
| 517 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> up)</code> |
||
| 518 | <div class="block">Sets this matrix to a look at matrix with the given position, target and up vector.</div> |
||
| 519 | </td> |
||
| 520 | </tr> |
||
| 521 | <tr class="rowColor"> |
||
| 522 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 523 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#setToOrtho(float, float, float, float, float, float)">setToOrtho</a></strong>(float left, |
||
| 524 | float right, |
||
| 525 | float bottom, |
||
| 526 | float top, |
||
| 527 | float near, |
||
| 528 | float far)</code> |
||
| 529 | <div class="block">Sets the matrix to an orthographic projection like glOrtho (http://www.opengl.org/sdk/docs/man/xhtml/glOrtho.xml) following |
||
| 530 | the OpenGL equivalent</div> |
||
| 531 | </td> |
||
| 532 | </tr> |
||
| 533 | <tr class="altColor"> |
||
| 534 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 535 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#setToOrtho2D(float, float, float, float)">setToOrtho2D</a></strong>(float x, |
||
| 536 | float y, |
||
| 537 | float width, |
||
| 538 | float height)</code> |
||
| 539 | <div class="block">Sets this matrix to an orthographic projection matrix with the origin at (x,y) extending by width and height.</div> |
||
| 540 | </td> |
||
| 541 | </tr> |
||
| 542 | <tr class="rowColor"> |
||
| 543 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 544 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#setToOrtho2D(float, float, float, float, float, float)">setToOrtho2D</a></strong>(float x, |
||
| 545 | float y, |
||
| 546 | float width, |
||
| 547 | float height, |
||
| 548 | float near, |
||
| 549 | float far)</code> |
||
| 550 | <div class="block">Sets this matrix to an orthographic projection matrix with the origin at (x,y) extending by width and height, having a near |
||
| 551 | and far plane.</div> |
||
| 552 | </td> |
||
| 553 | </tr> |
||
| 554 | <tr class="altColor"> |
||
| 555 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 556 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#setToProjection(float, float, float, float)">setToProjection</a></strong>(float near, |
||
| 557 | float far, |
||
| 558 | float fov, |
||
| 559 | float aspectRatio)</code> |
||
| 560 | <div class="block">Sets the matrix to a projection matrix with a near- and far plane, a field of view in degrees and an aspect ratio.</div> |
||
| 561 | </td> |
||
| 562 | </tr> |
||
| 563 | <tr class="rowColor"> |
||
| 564 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 565 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#setToRotation(float, float, float, float)">setToRotation</a></strong>(float axisX, |
||
| 566 | float axisY, |
||
| 567 | float axisZ, |
||
| 568 | float degrees)</code> |
||
| 569 | <div class="block">Sets the matrix to a rotation matrix around the given axis.</div> |
||
| 570 | </td> |
||
| 571 | </tr> |
||
| 572 | <tr class="altColor"> |
||
| 573 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 574 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#setToRotation(float, float, float, float, float, float)">setToRotation</a></strong>(float x1, |
||
| 575 | float y1, |
||
| 576 | float z1, |
||
| 577 | float x2, |
||
| 578 | float y2, |
||
| 579 | float z2)</code> |
||
| 580 | <div class="block">Set the matrix to a rotation matrix between two vectors.</div> |
||
| 581 | </td> |
||
| 582 | </tr> |
||
| 583 | <tr class="rowColor"> |
||
| 584 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 585 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#setToRotation(com.badlogic.gdx.math.Vector3, float)">setToRotation</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> axis, |
||
| 586 | float degrees)</code> |
||
| 587 | <div class="block">Sets the matrix to a rotation matrix around the given axis.</div> |
||
| 588 | </td> |
||
| 589 | </tr> |
||
| 590 | <tr class="altColor"> |
||
| 591 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 592 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#setToRotation(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)">setToRotation</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> v1, |
||
| 593 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> v2)</code> |
||
| 594 | <div class="block">Set the matrix to a rotation matrix between two vectors.</div> |
||
| 595 | </td> |
||
| 596 | </tr> |
||
| 597 | <tr class="rowColor"> |
||
| 598 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 599 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#setToScaling(float, float, float)">setToScaling</a></strong>(float x, |
||
| 600 | float y, |
||
| 601 | float z)</code> |
||
| 602 | <div class="block">Sets this matrix to a scaling matrix</div> |
||
| 603 | </td> |
||
| 604 | </tr> |
||
| 605 | <tr class="altColor"> |
||
| 606 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 607 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#setToScaling(com.badlogic.gdx.math.Vector3)">setToScaling</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> vector)</code> |
||
| 608 | <div class="block">Sets this matrix to a scaling matrix</div> |
||
| 609 | </td> |
||
| 610 | </tr> |
||
| 611 | <tr class="rowColor"> |
||
| 612 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 613 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#setToTranslation(float, float, float)">setToTranslation</a></strong>(float x, |
||
| 614 | float y, |
||
| 615 | float z)</code> |
||
| 616 | <div class="block">Sets this matrix to a translation matrix, overwriting it first by an identity matrix and then setting the 4th column to the |
||
| 617 | translation vector.</div> |
||
| 618 | </td> |
||
| 619 | </tr> |
||
| 620 | <tr class="altColor"> |
||
| 621 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 622 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#setToTranslation(com.badlogic.gdx.math.Vector3)">setToTranslation</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> vector)</code> |
||
| 623 | <div class="block">Sets this matrix to a translation matrix, overwriting it first by an identity matrix and then setting the 4th column to the |
||
| 624 | translation vector.</div> |
||
| 625 | </td> |
||
| 626 | </tr> |
||
| 627 | <tr class="rowColor"> |
||
| 628 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 629 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#setToTranslationAndScaling(float, float, float, float, float, float)">setToTranslationAndScaling</a></strong>(float translationX, |
||
| 630 | float translationY, |
||
| 631 | float translationZ, |
||
| 632 | float scalingX, |
||
| 633 | float scalingY, |
||
| 634 | float scalingZ)</code> |
||
| 635 | <div class="block">Sets this matrix to a translation and scaling matrix by first overwritting it with an identity and then setting the |
||
| 636 | translation vector in the 4th column and the scaling vector in the diagonal.</div> |
||
| 637 | </td> |
||
| 638 | </tr> |
||
| 639 | <tr class="altColor"> |
||
| 640 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 641 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#setToTranslationAndScaling(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)">setToTranslationAndScaling</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> translation, |
||
| 642 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> scaling)</code> |
||
| 643 | <div class="block">Sets this matrix to a translation and scaling matrix by first overwritting it with an identity and then setting the |
||
| 644 | translation vector in the 4th column and the scaling vector in the diagonal.</div> |
||
| 645 | </td> |
||
| 646 | </tr> |
||
| 647 | <tr class="rowColor"> |
||
| 648 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 649 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#setToWorld(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)">setToWorld</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> position, |
||
| 650 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> forward, |
||
| 651 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> up)</code> </td> |
||
| 652 | </tr> |
||
| 653 | <tr class="altColor"> |
||
| 654 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 655 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#setTranslation(com.badlogic.gdx.math.Vector3)">setTranslation</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> vector)</code> |
||
| 656 | <div class="block">Sets the 4th column to the translation vector.</div> |
||
| 657 | </td> |
||
| 658 | </tr> |
||
| 659 | <tr class="rowColor"> |
||
| 660 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 661 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#toNormalMatrix()">toNormalMatrix</a></strong>()</code> |
||
| 662 | <div class="block">removes the translational part and transposes the matrix.</div> |
||
| 663 | </td> |
||
| 664 | </tr> |
||
| 665 | <tr class="altColor"> |
||
| 666 | <td class="colFirst"><code>java.lang.String</code></td> |
||
| 667 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#toString()">toString</a></strong>()</code> </td> |
||
| 668 | </tr> |
||
| 669 | <tr class="rowColor"> |
||
| 670 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 671 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#tra()">tra</a></strong>()</code> |
||
| 672 | <div class="block">Transposes the matrix.</div> |
||
| 673 | </td> |
||
| 674 | </tr> |
||
| 675 | <tr class="altColor"> |
||
| 676 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 677 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#translate(float, float, float)">translate</a></strong>(float x, |
||
| 678 | float y, |
||
| 679 | float z)</code> |
||
| 680 | <div class="block">Postmultiplies this matrix by a translation matrix.</div> |
||
| 681 | </td> |
||
| 682 | </tr> |
||
| 683 | <tr class="rowColor"> |
||
| 684 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 685 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#translate(com.badlogic.gdx.math.Vector3)">translate</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> translation)</code> |
||
| 686 | <div class="block">Postmultiplies this matrix by a translation matrix.</div> |
||
| 687 | </td> |
||
| 688 | </tr> |
||
| 689 | <tr class="altColor"> |
||
| 690 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 691 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#trn(float, float, float)">trn</a></strong>(float x, |
||
| 692 | float y, |
||
| 693 | float z)</code> |
||
| 694 | <div class="block">Adds a translational component to the matrix in the 4th column.</div> |
||
| 695 | </td> |
||
| 696 | </tr> |
||
| 697 | <tr class="rowColor"> |
||
| 698 | <td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a></code></td> |
||
| 699 | <td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Matrix4.html#trn(com.badlogic.gdx.math.Vector3)">trn</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> vector)</code> |
||
| 700 | <div class="block">Adds a translational component to the matrix in the 4th column.</div> |
||
| 701 | </td> |
||
| 702 | </tr> |
||
| 703 | </table> |
||
| 704 | <ul class="blockList"> |
||
| 705 | <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
||
| 706 | <!-- --> |
||
| 707 | </a> |
||
| 708 | <h3>Methods inherited from class java.lang.Object</h3> |
||
| 709 | <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> |
||
| 710 | </ul> |
||
| 711 | </li> |
||
| 712 | </ul> |
||
| 713 | </li> |
||
| 714 | </ul> |
||
| 715 | </div> |
||
| 716 | <div class="details"> |
||
| 717 | <ul class="blockList"> |
||
| 718 | <li class="blockList"> |
||
| 719 | <!-- ============ FIELD DETAIL =========== --> |
||
| 720 | <ul class="blockList"> |
||
| 721 | <li class="blockList"><a name="field_detail"> |
||
| 722 | <!-- --> |
||
| 723 | </a> |
||
| 724 | <h3>Field Detail</h3> |
||
| 725 | <a name="M00"> |
||
| 726 | <!-- --> |
||
| 727 | </a> |
||
| 728 | <ul class="blockList"> |
||
| 729 | <li class="blockList"> |
||
| 730 | <h4>M00</h4> |
||
| 731 | <pre>public static final int M00</pre> |
||
| 732 | <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.badlogic.gdx.math.Matrix4.M00">Constant Field Values</a></dd></dl> |
||
| 733 | </li> |
||
| 734 | </ul> |
||
| 735 | <a name="M01"> |
||
| 736 | <!-- --> |
||
| 737 | </a> |
||
| 738 | <ul class="blockList"> |
||
| 739 | <li class="blockList"> |
||
| 740 | <h4>M01</h4> |
||
| 741 | <pre>public static final int M01</pre> |
||
| 742 | <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.badlogic.gdx.math.Matrix4.M01">Constant Field Values</a></dd></dl> |
||
| 743 | </li> |
||
| 744 | </ul> |
||
| 745 | <a name="M02"> |
||
| 746 | <!-- --> |
||
| 747 | </a> |
||
| 748 | <ul class="blockList"> |
||
| 749 | <li class="blockList"> |
||
| 750 | <h4>M02</h4> |
||
| 751 | <pre>public static final int M02</pre> |
||
| 752 | <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.badlogic.gdx.math.Matrix4.M02">Constant Field Values</a></dd></dl> |
||
| 753 | </li> |
||
| 754 | </ul> |
||
| 755 | <a name="M03"> |
||
| 756 | <!-- --> |
||
| 757 | </a> |
||
| 758 | <ul class="blockList"> |
||
| 759 | <li class="blockList"> |
||
| 760 | <h4>M03</h4> |
||
| 761 | <pre>public static final int M03</pre> |
||
| 762 | <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.badlogic.gdx.math.Matrix4.M03">Constant Field Values</a></dd></dl> |
||
| 763 | </li> |
||
| 764 | </ul> |
||
| 765 | <a name="M10"> |
||
| 766 | <!-- --> |
||
| 767 | </a> |
||
| 768 | <ul class="blockList"> |
||
| 769 | <li class="blockList"> |
||
| 770 | <h4>M10</h4> |
||
| 771 | <pre>public static final int M10</pre> |
||
| 772 | <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.badlogic.gdx.math.Matrix4.M10">Constant Field Values</a></dd></dl> |
||
| 773 | </li> |
||
| 774 | </ul> |
||
| 775 | <a name="M11"> |
||
| 776 | <!-- --> |
||
| 777 | </a> |
||
| 778 | <ul class="blockList"> |
||
| 779 | <li class="blockList"> |
||
| 780 | <h4>M11</h4> |
||
| 781 | <pre>public static final int M11</pre> |
||
| 782 | <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.badlogic.gdx.math.Matrix4.M11">Constant Field Values</a></dd></dl> |
||
| 783 | </li> |
||
| 784 | </ul> |
||
| 785 | <a name="M12"> |
||
| 786 | <!-- --> |
||
| 787 | </a> |
||
| 788 | <ul class="blockList"> |
||
| 789 | <li class="blockList"> |
||
| 790 | <h4>M12</h4> |
||
| 791 | <pre>public static final int M12</pre> |
||
| 792 | <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.badlogic.gdx.math.Matrix4.M12">Constant Field Values</a></dd></dl> |
||
| 793 | </li> |
||
| 794 | </ul> |
||
| 795 | <a name="M13"> |
||
| 796 | <!-- --> |
||
| 797 | </a> |
||
| 798 | <ul class="blockList"> |
||
| 799 | <li class="blockList"> |
||
| 800 | <h4>M13</h4> |
||
| 801 | <pre>public static final int M13</pre> |
||
| 802 | <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.badlogic.gdx.math.Matrix4.M13">Constant Field Values</a></dd></dl> |
||
| 803 | </li> |
||
| 804 | </ul> |
||
| 805 | <a name="M20"> |
||
| 806 | <!-- --> |
||
| 807 | </a> |
||
| 808 | <ul class="blockList"> |
||
| 809 | <li class="blockList"> |
||
| 810 | <h4>M20</h4> |
||
| 811 | <pre>public static final int M20</pre> |
||
| 812 | <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.badlogic.gdx.math.Matrix4.M20">Constant Field Values</a></dd></dl> |
||
| 813 | </li> |
||
| 814 | </ul> |
||
| 815 | <a name="M21"> |
||
| 816 | <!-- --> |
||
| 817 | </a> |
||
| 818 | <ul class="blockList"> |
||
| 819 | <li class="blockList"> |
||
| 820 | <h4>M21</h4> |
||
| 821 | <pre>public static final int M21</pre> |
||
| 822 | <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.badlogic.gdx.math.Matrix4.M21">Constant Field Values</a></dd></dl> |
||
| 823 | </li> |
||
| 824 | </ul> |
||
| 825 | <a name="M22"> |
||
| 826 | <!-- --> |
||
| 827 | </a> |
||
| 828 | <ul class="blockList"> |
||
| 829 | <li class="blockList"> |
||
| 830 | <h4>M22</h4> |
||
| 831 | <pre>public static final int M22</pre> |
||
| 832 | <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.badlogic.gdx.math.Matrix4.M22">Constant Field Values</a></dd></dl> |
||
| 833 | </li> |
||
| 834 | </ul> |
||
| 835 | <a name="M23"> |
||
| 836 | <!-- --> |
||
| 837 | </a> |
||
| 838 | <ul class="blockList"> |
||
| 839 | <li class="blockList"> |
||
| 840 | <h4>M23</h4> |
||
| 841 | <pre>public static final int M23</pre> |
||
| 842 | <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.badlogic.gdx.math.Matrix4.M23">Constant Field Values</a></dd></dl> |
||
| 843 | </li> |
||
| 844 | </ul> |
||
| 845 | <a name="M30"> |
||
| 846 | <!-- --> |
||
| 847 | </a> |
||
| 848 | <ul class="blockList"> |
||
| 849 | <li class="blockList"> |
||
| 850 | <h4>M30</h4> |
||
| 851 | <pre>public static final int M30</pre> |
||
| 852 | <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.badlogic.gdx.math.Matrix4.M30">Constant Field Values</a></dd></dl> |
||
| 853 | </li> |
||
| 854 | </ul> |
||
| 855 | <a name="M31"> |
||
| 856 | <!-- --> |
||
| 857 | </a> |
||
| 858 | <ul class="blockList"> |
||
| 859 | <li class="blockList"> |
||
| 860 | <h4>M31</h4> |
||
| 861 | <pre>public static final int M31</pre> |
||
| 862 | <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.badlogic.gdx.math.Matrix4.M31">Constant Field Values</a></dd></dl> |
||
| 863 | </li> |
||
| 864 | </ul> |
||
| 865 | <a name="M32"> |
||
| 866 | <!-- --> |
||
| 867 | </a> |
||
| 868 | <ul class="blockList"> |
||
| 869 | <li class="blockList"> |
||
| 870 | <h4>M32</h4> |
||
| 871 | <pre>public static final int M32</pre> |
||
| 872 | <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.badlogic.gdx.math.Matrix4.M32">Constant Field Values</a></dd></dl> |
||
| 873 | </li> |
||
| 874 | </ul> |
||
| 875 | <a name="M33"> |
||
| 876 | <!-- --> |
||
| 877 | </a> |
||
| 878 | <ul class="blockList"> |
||
| 879 | <li class="blockList"> |
||
| 880 | <h4>M33</h4> |
||
| 881 | <pre>public static final int M33</pre> |
||
| 882 | <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.badlogic.gdx.math.Matrix4.M33">Constant Field Values</a></dd></dl> |
||
| 883 | </li> |
||
| 884 | </ul> |
||
| 885 | <a name="tmp"> |
||
| 886 | <!-- --> |
||
| 887 | </a> |
||
| 888 | <ul class="blockList"> |
||
| 889 | <li class="blockList"> |
||
| 890 | <h4>tmp</h4> |
||
| 891 | <pre>public final float[] tmp</pre> |
||
| 892 | </li> |
||
| 893 | </ul> |
||
| 894 | <a name="val"> |
||
| 895 | <!-- --> |
||
| 896 | </a> |
||
| 897 | <ul class="blockListLast"> |
||
| 898 | <li class="blockList"> |
||
| 899 | <h4>val</h4> |
||
| 900 | <pre>public final float[] val</pre> |
||
| 901 | </li> |
||
| 902 | </ul> |
||
| 903 | </li> |
||
| 904 | </ul> |
||
| 905 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
||
| 906 | <ul class="blockList"> |
||
| 907 | <li class="blockList"><a name="constructor_detail"> |
||
| 908 | <!-- --> |
||
| 909 | </a> |
||
| 910 | <h3>Constructor Detail</h3> |
||
| 911 | <a name="Matrix4()"> |
||
| 912 | <!-- --> |
||
| 913 | </a> |
||
| 914 | <ul class="blockList"> |
||
| 915 | <li class="blockList"> |
||
| 916 | <h4>Matrix4</h4> |
||
| 917 | <pre>public Matrix4()</pre> |
||
| 918 | <div class="block">Constructs an identity matrix</div> |
||
| 919 | </li> |
||
| 920 | </ul> |
||
| 921 | <a name="Matrix4(com.badlogic.gdx.math.Matrix4)"> |
||
| 922 | <!-- --> |
||
| 923 | </a> |
||
| 924 | <ul class="blockList"> |
||
| 925 | <li class="blockList"> |
||
| 926 | <h4>Matrix4</h4> |
||
| 927 | <pre>public Matrix4(<a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> matrix)</pre> |
||
| 928 | <div class="block">Constructs a matrix from the given matrix.</div> |
||
| 929 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>matrix</code> - The matrix to copy. (This matrix is not modified)</dd></dl> |
||
| 930 | </li> |
||
| 931 | </ul> |
||
| 932 | <a name="Matrix4(float[])"> |
||
| 933 | <!-- --> |
||
| 934 | </a> |
||
| 935 | <ul class="blockList"> |
||
| 936 | <li class="blockList"> |
||
| 937 | <h4>Matrix4</h4> |
||
| 938 | <pre>public Matrix4(float[] values)</pre> |
||
| 939 | <div class="block">Constructs a matrix from the given float array. The array must have at least 16 elements; the first 16 will be copied.</div> |
||
| 940 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>values</code> - The float array to copy. Remember that this matrix is in |
||
| 941 | <a href="http://en.wikipedia.org/wiki/Row-major_order#Column-major_order">column major</a> order. |
||
| 942 | (The float array is not modified.)</dd></dl> |
||
| 943 | </li> |
||
| 944 | </ul> |
||
| 945 | <a name="Matrix4(com.badlogic.gdx.math.Quaternion)"> |
||
| 946 | <!-- --> |
||
| 947 | </a> |
||
| 948 | <ul class="blockList"> |
||
| 949 | <li class="blockList"> |
||
| 950 | <h4>Matrix4</h4> |
||
| 951 | <pre>public Matrix4(<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a> quaternion)</pre> |
||
| 952 | <div class="block">Constructs a rotation matrix from the given <a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math"><code>Quaternion</code></a>.</div> |
||
| 953 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion</code> - The quaternion to be copied. (The quaternion is not modified)</dd></dl> |
||
| 954 | </li> |
||
| 955 | </ul> |
||
| 956 | <a name="Matrix4(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Quaternion, com.badlogic.gdx.math.Vector3)"> |
||
| 957 | <!-- --> |
||
| 958 | </a> |
||
| 959 | <ul class="blockListLast"> |
||
| 960 | <li class="blockList"> |
||
| 961 | <h4>Matrix4</h4> |
||
| 962 | <pre>public Matrix4(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> position, |
||
| 963 | <a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a> rotation, |
||
| 964 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> scale)</pre> |
||
| 965 | <div class="block">Construct a matrix from the given translation, rotation and scale.</div> |
||
| 966 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>position</code> - The translation</dd><dd><code>rotation</code> - The rotation, must be normalized</dd><dd><code>scale</code> - The scale</dd></dl> |
||
| 967 | </li> |
||
| 968 | </ul> |
||
| 969 | </li> |
||
| 970 | </ul> |
||
| 971 | <!-- ============ METHOD DETAIL ========== --> |
||
| 972 | <ul class="blockList"> |
||
| 973 | <li class="blockList"><a name="method_detail"> |
||
| 974 | <!-- --> |
||
| 975 | </a> |
||
| 976 | <h3>Method Detail</h3> |
||
| 977 | <a name="set(com.badlogic.gdx.math.Matrix4)"> |
||
| 978 | <!-- --> |
||
| 979 | </a> |
||
| 980 | <ul class="blockList"> |
||
| 981 | <li class="blockList"> |
||
| 982 | <h4>set</h4> |
||
| 983 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> set(<a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> matrix)</pre> |
||
| 984 | <div class="block">Sets the matrix to the given matrix.</div> |
||
| 985 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>matrix</code> - The matrix that is to be copied. (The given matrix is not modified)</dd> |
||
| 986 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 987 | </li> |
||
| 988 | </ul> |
||
| 989 | <a name="set(float[])"> |
||
| 990 | <!-- --> |
||
| 991 | </a> |
||
| 992 | <ul class="blockList"> |
||
| 993 | <li class="blockList"> |
||
| 994 | <h4>set</h4> |
||
| 995 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> set(float[] values)</pre> |
||
| 996 | <div class="block">Sets the matrix to the given matrix as a float array. The float array must have at least 16 elements; the first 16 will be |
||
| 997 | copied.</div> |
||
| 998 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>values</code> - The matrix, in float form, that is to be copied. Remember that this matrix is in <a |
||
| 999 | href="http://en.wikipedia.org/wiki/Row-major_order#Column-major_order">column major</a> order.</dd> |
||
| 1000 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1001 | </li> |
||
| 1002 | </ul> |
||
| 1003 | <a name="set(com.badlogic.gdx.math.Quaternion)"> |
||
| 1004 | <!-- --> |
||
| 1005 | </a> |
||
| 1006 | <ul class="blockList"> |
||
| 1007 | <li class="blockList"> |
||
| 1008 | <h4>set</h4> |
||
| 1009 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> set(<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a> quaternion)</pre> |
||
| 1010 | <div class="block">Sets the matrix to a rotation matrix representing the quaternion.</div> |
||
| 1011 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion</code> - The quaternion that is to be used to set this matrix.</dd> |
||
| 1012 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1013 | </li> |
||
| 1014 | </ul> |
||
| 1015 | <a name="set(float, float, float, float)"> |
||
| 1016 | <!-- --> |
||
| 1017 | </a> |
||
| 1018 | <ul class="blockList"> |
||
| 1019 | <li class="blockList"> |
||
| 1020 | <h4>set</h4> |
||
| 1021 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> set(float x, |
||
| 1022 | float y, |
||
| 1023 | float z, |
||
| 1024 | float w)</pre> |
||
| 1025 | <div class="block">Sets the matrix to a rotation matrix representing the quaternion.</div> |
||
| 1026 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - The X component of the quaternion that is to be used to set this matrix.</dd><dd><code>y</code> - The Y component of the quaternion that is to be used to set this matrix.</dd><dd><code>z</code> - The Z component of the quaternion that is to be used to set this matrix.</dd><dd><code>w</code> - The W component of the quaternion that is to be used to set this matrix.</dd> |
||
| 1027 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1028 | </li> |
||
| 1029 | </ul> |
||
| 1030 | <a name="set(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Quaternion, com.badlogic.gdx.math.Vector3)"> |
||
| 1031 | <!-- --> |
||
| 1032 | </a> |
||
| 1033 | <ul class="blockList"> |
||
| 1034 | <li class="blockList"> |
||
| 1035 | <h4>set</h4> |
||
| 1036 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> set(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> position, |
||
| 1037 | <a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a> orientation, |
||
| 1038 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> scale)</pre> |
||
| 1039 | <div class="block">Set this matrix to the specified translation, rotation and scale.</div> |
||
| 1040 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>position</code> - The translation</dd><dd><code>orientation</code> - The rotation, must be normalized</dd><dd><code>scale</code> - The scale</dd> |
||
| 1041 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for chaining</dd></dl> |
||
| 1042 | </li> |
||
| 1043 | </ul> |
||
| 1044 | <a name="set(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)"> |
||
| 1045 | <!-- --> |
||
| 1046 | </a> |
||
| 1047 | <ul class="blockList"> |
||
| 1048 | <li class="blockList"> |
||
| 1049 | <h4>set</h4> |
||
| 1050 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> set(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> xAxis, |
||
| 1051 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> yAxis, |
||
| 1052 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> zAxis, |
||
| 1053 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> pos)</pre> |
||
| 1054 | <div class="block">Sets the four columns of the matrix which correspond to the x-, y- and z-axis of the vector space this matrix creates as |
||
| 1055 | well as the 4th column representing the translation of any point that is multiplied by this matrix.</div> |
||
| 1056 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>xAxis</code> - The x-axis.</dd><dd><code>yAxis</code> - The y-axis.</dd><dd><code>zAxis</code> - The z-axis.</dd><dd><code>pos</code> - The translation vector.</dd></dl> |
||
| 1057 | </li> |
||
| 1058 | </ul> |
||
| 1059 | <a name="cpy()"> |
||
| 1060 | <!-- --> |
||
| 1061 | </a> |
||
| 1062 | <ul class="blockList"> |
||
| 1063 | <li class="blockList"> |
||
| 1064 | <h4>cpy</h4> |
||
| 1065 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> cpy()</pre> |
||
| 1066 | <dl><dt><span class="strong">Returns:</span></dt><dd>a copy of this matrix</dd></dl> |
||
| 1067 | </li> |
||
| 1068 | </ul> |
||
| 1069 | <a name="trn(com.badlogic.gdx.math.Vector3)"> |
||
| 1070 | <!-- --> |
||
| 1071 | </a> |
||
| 1072 | <ul class="blockList"> |
||
| 1073 | <li class="blockList"> |
||
| 1074 | <h4>trn</h4> |
||
| 1075 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> trn(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> vector)</pre> |
||
| 1076 | <div class="block">Adds a translational component to the matrix in the 4th column. The other columns are untouched.</div> |
||
| 1077 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>vector</code> - The translation vector to add to the current matrix. (This vector is not modified)</dd> |
||
| 1078 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1079 | </li> |
||
| 1080 | </ul> |
||
| 1081 | <a name="trn(float, float, float)"> |
||
| 1082 | <!-- --> |
||
| 1083 | </a> |
||
| 1084 | <ul class="blockList"> |
||
| 1085 | <li class="blockList"> |
||
| 1086 | <h4>trn</h4> |
||
| 1087 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> trn(float x, |
||
| 1088 | float y, |
||
| 1089 | float z)</pre> |
||
| 1090 | <div class="block">Adds a translational component to the matrix in the 4th column. The other columns are untouched.</div> |
||
| 1091 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - The x-component of the translation vector.</dd><dd><code>y</code> - The y-component of the translation vector.</dd><dd><code>z</code> - The z-component of the translation vector.</dd> |
||
| 1092 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1093 | </li> |
||
| 1094 | </ul> |
||
| 1095 | <a name="getValues()"> |
||
| 1096 | <!-- --> |
||
| 1097 | </a> |
||
| 1098 | <ul class="blockList"> |
||
| 1099 | <li class="blockList"> |
||
| 1100 | <h4>getValues</h4> |
||
| 1101 | <pre>public float[] getValues()</pre> |
||
| 1102 | <dl><dt><span class="strong">Returns:</span></dt><dd>the backing float array</dd></dl> |
||
| 1103 | </li> |
||
| 1104 | </ul> |
||
| 1105 | <a name="mul(com.badlogic.gdx.math.Matrix4)"> |
||
| 1106 | <!-- --> |
||
| 1107 | </a> |
||
| 1108 | <ul class="blockList"> |
||
| 1109 | <li class="blockList"> |
||
| 1110 | <h4>mul</h4> |
||
| 1111 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> mul(<a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> matrix)</pre> |
||
| 1112 | <div class="block">Postmultiplies this matrix with the given matrix, storing the result in this matrix. For example: |
||
| 1113 | |||
| 1114 | <pre> |
||
| 1115 | A.mul(B) results in A := AB. |
||
| 1116 | </pre></div> |
||
| 1117 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>matrix</code> - The other matrix to multiply by.</dd> |
||
| 1118 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining operations together.</dd></dl> |
||
| 1119 | </li> |
||
| 1120 | </ul> |
||
| 1121 | <a name="tra()"> |
||
| 1122 | <!-- --> |
||
| 1123 | </a> |
||
| 1124 | <ul class="blockList"> |
||
| 1125 | <li class="blockList"> |
||
| 1126 | <h4>tra</h4> |
||
| 1127 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> tra()</pre> |
||
| 1128 | <div class="block">Transposes the matrix.</div> |
||
| 1129 | <dl><dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1130 | </li> |
||
| 1131 | </ul> |
||
| 1132 | <a name="idt()"> |
||
| 1133 | <!-- --> |
||
| 1134 | </a> |
||
| 1135 | <ul class="blockList"> |
||
| 1136 | <li class="blockList"> |
||
| 1137 | <h4>idt</h4> |
||
| 1138 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> idt()</pre> |
||
| 1139 | <div class="block">Sets the matrix to an identity matrix.</div> |
||
| 1140 | <dl><dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1141 | </li> |
||
| 1142 | </ul> |
||
| 1143 | <a name="inv()"> |
||
| 1144 | <!-- --> |
||
| 1145 | </a> |
||
| 1146 | <ul class="blockList"> |
||
| 1147 | <li class="blockList"> |
||
| 1148 | <h4>inv</h4> |
||
| 1149 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> inv()</pre> |
||
| 1150 | <div class="block">Inverts the matrix. Stores the result in this matrix.</div> |
||
| 1151 | <dl><dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd> |
||
| 1152 | <dt><span class="strong">Throws:</span></dt> |
||
| 1153 | <dd><code>java.lang.RuntimeException</code> - if the matrix is singular (not invertible)</dd></dl> |
||
| 1154 | </li> |
||
| 1155 | </ul> |
||
| 1156 | <a name="det()"> |
||
| 1157 | <!-- --> |
||
| 1158 | </a> |
||
| 1159 | <ul class="blockList"> |
||
| 1160 | <li class="blockList"> |
||
| 1161 | <h4>det</h4> |
||
| 1162 | <pre>public float det()</pre> |
||
| 1163 | <dl><dt><span class="strong">Returns:</span></dt><dd>The determinant of this matrix</dd></dl> |
||
| 1164 | </li> |
||
| 1165 | </ul> |
||
| 1166 | <a name="setToProjection(float, float, float, float)"> |
||
| 1167 | <!-- --> |
||
| 1168 | </a> |
||
| 1169 | <ul class="blockList"> |
||
| 1170 | <li class="blockList"> |
||
| 1171 | <h4>setToProjection</h4> |
||
| 1172 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> setToProjection(float near, |
||
| 1173 | float far, |
||
| 1174 | float fov, |
||
| 1175 | float aspectRatio)</pre> |
||
| 1176 | <div class="block">Sets the matrix to a projection matrix with a near- and far plane, a field of view in degrees and an aspect ratio.</div> |
||
| 1177 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>near</code> - The near plane</dd><dd><code>far</code> - The far plane</dd><dd><code>fov</code> - The field of view in degrees</dd><dd><code>aspectRatio</code> - The "width over height" aspect ratio</dd> |
||
| 1178 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1179 | </li> |
||
| 1180 | </ul> |
||
| 1181 | <a name="setToOrtho2D(float, float, float, float)"> |
||
| 1182 | <!-- --> |
||
| 1183 | </a> |
||
| 1184 | <ul class="blockList"> |
||
| 1185 | <li class="blockList"> |
||
| 1186 | <h4>setToOrtho2D</h4> |
||
| 1187 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> setToOrtho2D(float x, |
||
| 1188 | float y, |
||
| 1189 | float width, |
||
| 1190 | float height)</pre> |
||
| 1191 | <div class="block">Sets this matrix to an orthographic projection matrix with the origin at (x,y) extending by width and height. The near plane |
||
| 1192 | is set to 0, the far plane is set to 1.</div> |
||
| 1193 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - The x-coordinate of the origin</dd><dd><code>y</code> - The y-coordinate of the origin</dd><dd><code>width</code> - The width</dd><dd><code>height</code> - The height</dd> |
||
| 1194 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1195 | </li> |
||
| 1196 | </ul> |
||
| 1197 | <a name="setToOrtho2D(float, float, float, float, float, float)"> |
||
| 1198 | <!-- --> |
||
| 1199 | </a> |
||
| 1200 | <ul class="blockList"> |
||
| 1201 | <li class="blockList"> |
||
| 1202 | <h4>setToOrtho2D</h4> |
||
| 1203 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> setToOrtho2D(float x, |
||
| 1204 | float y, |
||
| 1205 | float width, |
||
| 1206 | float height, |
||
| 1207 | float near, |
||
| 1208 | float far)</pre> |
||
| 1209 | <div class="block">Sets this matrix to an orthographic projection matrix with the origin at (x,y) extending by width and height, having a near |
||
| 1210 | and far plane.</div> |
||
| 1211 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - The x-coordinate of the origin</dd><dd><code>y</code> - The y-coordinate of the origin</dd><dd><code>width</code> - The width</dd><dd><code>height</code> - The height</dd><dd><code>near</code> - The near plane</dd><dd><code>far</code> - The far plane</dd> |
||
| 1212 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1213 | </li> |
||
| 1214 | </ul> |
||
| 1215 | <a name="setToOrtho(float, float, float, float, float, float)"> |
||
| 1216 | <!-- --> |
||
| 1217 | </a> |
||
| 1218 | <ul class="blockList"> |
||
| 1219 | <li class="blockList"> |
||
| 1220 | <h4>setToOrtho</h4> |
||
| 1221 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> setToOrtho(float left, |
||
| 1222 | float right, |
||
| 1223 | float bottom, |
||
| 1224 | float top, |
||
| 1225 | float near, |
||
| 1226 | float far)</pre> |
||
| 1227 | <div class="block">Sets the matrix to an orthographic projection like glOrtho (http://www.opengl.org/sdk/docs/man/xhtml/glOrtho.xml) following |
||
| 1228 | the OpenGL equivalent</div> |
||
| 1229 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>left</code> - The left clipping plane</dd><dd><code>right</code> - The right clipping plane</dd><dd><code>bottom</code> - The bottom clipping plane</dd><dd><code>top</code> - The top clipping plane</dd><dd><code>near</code> - The near clipping plane</dd><dd><code>far</code> - The far clipping plane</dd> |
||
| 1230 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1231 | </li> |
||
| 1232 | </ul> |
||
| 1233 | <a name="setTranslation(com.badlogic.gdx.math.Vector3)"> |
||
| 1234 | <!-- --> |
||
| 1235 | </a> |
||
| 1236 | <ul class="blockList"> |
||
| 1237 | <li class="blockList"> |
||
| 1238 | <h4>setTranslation</h4> |
||
| 1239 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> setTranslation(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> vector)</pre> |
||
| 1240 | <div class="block">Sets the 4th column to the translation vector.</div> |
||
| 1241 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>vector</code> - The translation vector</dd> |
||
| 1242 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1243 | </li> |
||
| 1244 | </ul> |
||
| 1245 | <a name="setToTranslation(com.badlogic.gdx.math.Vector3)"> |
||
| 1246 | <!-- --> |
||
| 1247 | </a> |
||
| 1248 | <ul class="blockList"> |
||
| 1249 | <li class="blockList"> |
||
| 1250 | <h4>setToTranslation</h4> |
||
| 1251 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> setToTranslation(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> vector)</pre> |
||
| 1252 | <div class="block">Sets this matrix to a translation matrix, overwriting it first by an identity matrix and then setting the 4th column to the |
||
| 1253 | translation vector.</div> |
||
| 1254 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>vector</code> - The translation vector</dd> |
||
| 1255 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1256 | </li> |
||
| 1257 | </ul> |
||
| 1258 | <a name="setToTranslation(float, float, float)"> |
||
| 1259 | <!-- --> |
||
| 1260 | </a> |
||
| 1261 | <ul class="blockList"> |
||
| 1262 | <li class="blockList"> |
||
| 1263 | <h4>setToTranslation</h4> |
||
| 1264 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> setToTranslation(float x, |
||
| 1265 | float y, |
||
| 1266 | float z)</pre> |
||
| 1267 | <div class="block">Sets this matrix to a translation matrix, overwriting it first by an identity matrix and then setting the 4th column to the |
||
| 1268 | translation vector.</div> |
||
| 1269 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - The x-component of the translation vector.</dd><dd><code>y</code> - The y-component of the translation vector.</dd><dd><code>z</code> - The z-component of the translation vector.</dd> |
||
| 1270 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1271 | </li> |
||
| 1272 | </ul> |
||
| 1273 | <a name="setToTranslationAndScaling(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)"> |
||
| 1274 | <!-- --> |
||
| 1275 | </a> |
||
| 1276 | <ul class="blockList"> |
||
| 1277 | <li class="blockList"> |
||
| 1278 | <h4>setToTranslationAndScaling</h4> |
||
| 1279 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> setToTranslationAndScaling(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> translation, |
||
| 1280 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> scaling)</pre> |
||
| 1281 | <div class="block">Sets this matrix to a translation and scaling matrix by first overwritting it with an identity and then setting the |
||
| 1282 | translation vector in the 4th column and the scaling vector in the diagonal.</div> |
||
| 1283 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>translation</code> - The translation vector</dd><dd><code>scaling</code> - The scaling vector</dd> |
||
| 1284 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1285 | </li> |
||
| 1286 | </ul> |
||
| 1287 | <a name="setToTranslationAndScaling(float, float, float, float, float, float)"> |
||
| 1288 | <!-- --> |
||
| 1289 | </a> |
||
| 1290 | <ul class="blockList"> |
||
| 1291 | <li class="blockList"> |
||
| 1292 | <h4>setToTranslationAndScaling</h4> |
||
| 1293 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> setToTranslationAndScaling(float translationX, |
||
| 1294 | float translationY, |
||
| 1295 | float translationZ, |
||
| 1296 | float scalingX, |
||
| 1297 | float scalingY, |
||
| 1298 | float scalingZ)</pre> |
||
| 1299 | <div class="block">Sets this matrix to a translation and scaling matrix by first overwritting it with an identity and then setting the |
||
| 1300 | translation vector in the 4th column and the scaling vector in the diagonal.</div> |
||
| 1301 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>translationX</code> - The x-component of the translation vector</dd><dd><code>translationY</code> - The y-component of the translation vector</dd><dd><code>translationZ</code> - The z-component of the translation vector</dd><dd><code>scalingX</code> - The x-component of the scaling vector</dd><dd><code>scalingY</code> - The x-component of the scaling vector</dd><dd><code>scalingZ</code> - The x-component of the scaling vector</dd> |
||
| 1302 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1303 | </li> |
||
| 1304 | </ul> |
||
| 1305 | <a name="setToRotation(com.badlogic.gdx.math.Vector3, float)"> |
||
| 1306 | <!-- --> |
||
| 1307 | </a> |
||
| 1308 | <ul class="blockList"> |
||
| 1309 | <li class="blockList"> |
||
| 1310 | <h4>setToRotation</h4> |
||
| 1311 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> setToRotation(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> axis, |
||
| 1312 | float degrees)</pre> |
||
| 1313 | <div class="block">Sets the matrix to a rotation matrix around the given axis.</div> |
||
| 1314 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>axis</code> - The axis</dd><dd><code>degrees</code> - The angle in degrees</dd> |
||
| 1315 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1316 | </li> |
||
| 1317 | </ul> |
||
| 1318 | <a name="setToRotation(float, float, float, float)"> |
||
| 1319 | <!-- --> |
||
| 1320 | </a> |
||
| 1321 | <ul class="blockList"> |
||
| 1322 | <li class="blockList"> |
||
| 1323 | <h4>setToRotation</h4> |
||
| 1324 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> setToRotation(float axisX, |
||
| 1325 | float axisY, |
||
| 1326 | float axisZ, |
||
| 1327 | float degrees)</pre> |
||
| 1328 | <div class="block">Sets the matrix to a rotation matrix around the given axis.</div> |
||
| 1329 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>axisX</code> - The x-component of the axis</dd><dd><code>axisY</code> - The y-component of the axis</dd><dd><code>axisZ</code> - The z-component of the axis</dd><dd><code>degrees</code> - The angle in degrees</dd> |
||
| 1330 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1331 | </li> |
||
| 1332 | </ul> |
||
| 1333 | <a name="setToRotation(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)"> |
||
| 1334 | <!-- --> |
||
| 1335 | </a> |
||
| 1336 | <ul class="blockList"> |
||
| 1337 | <li class="blockList"> |
||
| 1338 | <h4>setToRotation</h4> |
||
| 1339 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> setToRotation(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> v1, |
||
| 1340 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> v2)</pre> |
||
| 1341 | <div class="block">Set the matrix to a rotation matrix between two vectors.</div> |
||
| 1342 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>v1</code> - The base vector</dd><dd><code>v2</code> - The target vector</dd> |
||
| 1343 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together</dd></dl> |
||
| 1344 | </li> |
||
| 1345 | </ul> |
||
| 1346 | <a name="setToRotation(float, float, float, float, float, float)"> |
||
| 1347 | <!-- --> |
||
| 1348 | </a> |
||
| 1349 | <ul class="blockList"> |
||
| 1350 | <li class="blockList"> |
||
| 1351 | <h4>setToRotation</h4> |
||
| 1352 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> setToRotation(float x1, |
||
| 1353 | float y1, |
||
| 1354 | float z1, |
||
| 1355 | float x2, |
||
| 1356 | float y2, |
||
| 1357 | float z2)</pre> |
||
| 1358 | <div class="block">Set the matrix to a rotation matrix between two vectors.</div> |
||
| 1359 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>x1</code> - The base vectors x value</dd><dd><code>y1</code> - The base vectors y value</dd><dd><code>z1</code> - The base vectors z value</dd><dd><code>x2</code> - The target vector x value</dd><dd><code>y2</code> - The target vector y value</dd><dd><code>z2</code> - The target vector z value</dd> |
||
| 1360 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together</dd></dl> |
||
| 1361 | </li> |
||
| 1362 | </ul> |
||
| 1363 | <a name="setFromEulerAngles(float, float, float)"> |
||
| 1364 | <!-- --> |
||
| 1365 | </a> |
||
| 1366 | <ul class="blockList"> |
||
| 1367 | <li class="blockList"> |
||
| 1368 | <h4>setFromEulerAngles</h4> |
||
| 1369 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> setFromEulerAngles(float yaw, |
||
| 1370 | float pitch, |
||
| 1371 | float roll)</pre> |
||
| 1372 | <div class="block">Sets this matrix to a rotation matrix from the given euler angles.</div> |
||
| 1373 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>yaw</code> - the yaw in degrees</dd><dd><code>pitch</code> - the pitch in degress</dd><dd><code>roll</code> - the roll in degrees</dd> |
||
| 1374 | <dt><span class="strong">Returns:</span></dt><dd>This matrix</dd></dl> |
||
| 1375 | </li> |
||
| 1376 | </ul> |
||
| 1377 | <a name="setToScaling(com.badlogic.gdx.math.Vector3)"> |
||
| 1378 | <!-- --> |
||
| 1379 | </a> |
||
| 1380 | <ul class="blockList"> |
||
| 1381 | <li class="blockList"> |
||
| 1382 | <h4>setToScaling</h4> |
||
| 1383 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> setToScaling(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> vector)</pre> |
||
| 1384 | <div class="block">Sets this matrix to a scaling matrix</div> |
||
| 1385 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>vector</code> - The scaling vector</dd> |
||
| 1386 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for chaining.</dd></dl> |
||
| 1387 | </li> |
||
| 1388 | </ul> |
||
| 1389 | <a name="setToScaling(float, float, float)"> |
||
| 1390 | <!-- --> |
||
| 1391 | </a> |
||
| 1392 | <ul class="blockList"> |
||
| 1393 | <li class="blockList"> |
||
| 1394 | <h4>setToScaling</h4> |
||
| 1395 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> setToScaling(float x, |
||
| 1396 | float y, |
||
| 1397 | float z)</pre> |
||
| 1398 | <div class="block">Sets this matrix to a scaling matrix</div> |
||
| 1399 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - The x-component of the scaling vector</dd><dd><code>y</code> - The y-component of the scaling vector</dd><dd><code>z</code> - The z-component of the scaling vector</dd> |
||
| 1400 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for chaining.</dd></dl> |
||
| 1401 | </li> |
||
| 1402 | </ul> |
||
| 1403 | <a name="setToLookAt(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)"> |
||
| 1404 | <!-- --> |
||
| 1405 | </a> |
||
| 1406 | <ul class="blockList"> |
||
| 1407 | <li class="blockList"> |
||
| 1408 | <h4>setToLookAt</h4> |
||
| 1409 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> setToLookAt(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> direction, |
||
| 1410 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> up)</pre> |
||
| 1411 | <div class="block">Sets the matrix to a look at matrix with a direction and an up vector. Multiply with a translation matrix to get a camera |
||
| 1412 | model view matrix.</div> |
||
| 1413 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>direction</code> - The direction vector</dd><dd><code>up</code> - The up vector</dd> |
||
| 1414 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1415 | </li> |
||
| 1416 | </ul> |
||
| 1417 | <a name="setToLookAt(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)"> |
||
| 1418 | <!-- --> |
||
| 1419 | </a> |
||
| 1420 | <ul class="blockList"> |
||
| 1421 | <li class="blockList"> |
||
| 1422 | <h4>setToLookAt</h4> |
||
| 1423 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> setToLookAt(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> position, |
||
| 1424 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> target, |
||
| 1425 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> up)</pre> |
||
| 1426 | <div class="block">Sets this matrix to a look at matrix with the given position, target and up vector.</div> |
||
| 1427 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>position</code> - the position</dd><dd><code>target</code> - the target</dd><dd><code>up</code> - the up vector</dd> |
||
| 1428 | <dt><span class="strong">Returns:</span></dt><dd>This matrix</dd></dl> |
||
| 1429 | </li> |
||
| 1430 | </ul> |
||
| 1431 | <a name="setToWorld(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)"> |
||
| 1432 | <!-- --> |
||
| 1433 | </a> |
||
| 1434 | <ul class="blockList"> |
||
| 1435 | <li class="blockList"> |
||
| 1436 | <h4>setToWorld</h4> |
||
| 1437 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> setToWorld(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> position, |
||
| 1438 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> forward, |
||
| 1439 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> up)</pre> |
||
| 1440 | </li> |
||
| 1441 | </ul> |
||
| 1442 | <a name="toString()"> |
||
| 1443 | <!-- --> |
||
| 1444 | </a> |
||
| 1445 | <ul class="blockList"> |
||
| 1446 | <li class="blockList"> |
||
| 1447 | <h4>toString</h4> |
||
| 1448 | <pre>public java.lang.String toString()</pre> |
||
| 1449 | <dl> |
||
| 1450 | <dt><strong>Overrides:</strong></dt> |
||
| 1451 | <dd><code>toString</code> in class <code>java.lang.Object</code></dd> |
||
| 1452 | </dl> |
||
| 1453 | </li> |
||
| 1454 | </ul> |
||
| 1455 | <a name="lerp(com.badlogic.gdx.math.Matrix4, float)"> |
||
| 1456 | <!-- --> |
||
| 1457 | </a> |
||
| 1458 | <ul class="blockList"> |
||
| 1459 | <li class="blockList"> |
||
| 1460 | <h4>lerp</h4> |
||
| 1461 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> lerp(<a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> matrix, |
||
| 1462 | float alpha)</pre> |
||
| 1463 | <div class="block">Linearly interpolates between this matrix and the given matrix mixing by alpha</div> |
||
| 1464 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>matrix</code> - the matrix</dd><dd><code>alpha</code> - the alpha value in the range [0,1]</dd> |
||
| 1465 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1466 | </li> |
||
| 1467 | </ul> |
||
| 1468 | <a name="set(com.badlogic.gdx.math.Matrix3)"> |
||
| 1469 | <!-- --> |
||
| 1470 | </a> |
||
| 1471 | <ul class="blockList"> |
||
| 1472 | <li class="blockList"> |
||
| 1473 | <h4>set</h4> |
||
| 1474 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> set(<a href="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</a> mat)</pre> |
||
| 1475 | <div class="block">Sets this matrix to the given 3x3 matrix. The third column of this matrix is set to (0,0,1,0).</div> |
||
| 1476 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>mat</code> - the matrix</dd></dl> |
||
| 1477 | </li> |
||
| 1478 | </ul> |
||
| 1479 | <a name="scl(com.badlogic.gdx.math.Vector3)"> |
||
| 1480 | <!-- --> |
||
| 1481 | </a> |
||
| 1482 | <ul class="blockList"> |
||
| 1483 | <li class="blockList"> |
||
| 1484 | <h4>scl</h4> |
||
| 1485 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> scl(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> scale)</pre> |
||
| 1486 | </li> |
||
| 1487 | </ul> |
||
| 1488 | <a name="scl(float, float, float)"> |
||
| 1489 | <!-- --> |
||
| 1490 | </a> |
||
| 1491 | <ul class="blockList"> |
||
| 1492 | <li class="blockList"> |
||
| 1493 | <h4>scl</h4> |
||
| 1494 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> scl(float x, |
||
| 1495 | float y, |
||
| 1496 | float z)</pre> |
||
| 1497 | </li> |
||
| 1498 | </ul> |
||
| 1499 | <a name="scl(float)"> |
||
| 1500 | <!-- --> |
||
| 1501 | </a> |
||
| 1502 | <ul class="blockList"> |
||
| 1503 | <li class="blockList"> |
||
| 1504 | <h4>scl</h4> |
||
| 1505 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> scl(float scale)</pre> |
||
| 1506 | </li> |
||
| 1507 | </ul> |
||
| 1508 | <a name="getTranslation(com.badlogic.gdx.math.Vector3)"> |
||
| 1509 | <!-- --> |
||
| 1510 | </a> |
||
| 1511 | <ul class="blockList"> |
||
| 1512 | <li class="blockList"> |
||
| 1513 | <h4>getTranslation</h4> |
||
| 1514 | <pre>public <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> getTranslation(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> position)</pre> |
||
| 1515 | </li> |
||
| 1516 | </ul> |
||
| 1517 | <a name="getRotation(com.badlogic.gdx.math.Quaternion)"> |
||
| 1518 | <!-- --> |
||
| 1519 | </a> |
||
| 1520 | <ul class="blockList"> |
||
| 1521 | <li class="blockList"> |
||
| 1522 | <h4>getRotation</h4> |
||
| 1523 | <pre>public <a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a> getRotation(<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a> rotation)</pre> |
||
| 1524 | </li> |
||
| 1525 | </ul> |
||
| 1526 | <a name="getScale(com.badlogic.gdx.math.Vector3)"> |
||
| 1527 | <!-- --> |
||
| 1528 | </a> |
||
| 1529 | <ul class="blockList"> |
||
| 1530 | <li class="blockList"> |
||
| 1531 | <h4>getScale</h4> |
||
| 1532 | <pre>public <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> getScale(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> scale)</pre> |
||
| 1533 | </li> |
||
| 1534 | </ul> |
||
| 1535 | <a name="toNormalMatrix()"> |
||
| 1536 | <!-- --> |
||
| 1537 | </a> |
||
| 1538 | <ul class="blockList"> |
||
| 1539 | <li class="blockList"> |
||
| 1540 | <h4>toNormalMatrix</h4> |
||
| 1541 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> toNormalMatrix()</pre> |
||
| 1542 | <div class="block">removes the translational part and transposes the matrix.</div> |
||
| 1543 | </li> |
||
| 1544 | </ul> |
||
| 1545 | <a name="mul(float[], float[])"> |
||
| 1546 | <!-- --> |
||
| 1547 | </a> |
||
| 1548 | <ul class="blockList"> |
||
| 1549 | <li class="blockList"> |
||
| 1550 | <h4>mul</h4> |
||
| 1551 | <pre>public static void mul(float[] mata, |
||
| 1552 | float[] matb)</pre> |
||
| 1553 | <div class="block">Multiplies the matrix mata with matrix matb, storing the result in mata. The arrays are assumed to hold 4x4 column major |
||
| 1554 | matrices as you can get from <a href="../../../../com/badlogic/gdx/math/Matrix4.html#val"><code>val</code></a>. This is the same as <a href="../../../../com/badlogic/gdx/math/Matrix4.html#mul(com.badlogic.gdx.math.Matrix4)"><code>mul(Matrix4)</code></a>.</div> |
||
| 1555 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>mata</code> - the first matrix.</dd><dd><code>matb</code> - the second matrix.</dd></dl> |
||
| 1556 | </li> |
||
| 1557 | </ul> |
||
| 1558 | <a name="mulVec(float[], float[])"> |
||
| 1559 | <!-- --> |
||
| 1560 | </a> |
||
| 1561 | <ul class="blockList"> |
||
| 1562 | <li class="blockList"> |
||
| 1563 | <h4>mulVec</h4> |
||
| 1564 | <pre>public static void mulVec(float[] mat, |
||
| 1565 | float[] vec)</pre> |
||
| 1566 | <div class="block">Multiplies the vector with the given matrix. The matrix array is assumed to hold a 4x4 column major matrix as you can get |
||
| 1567 | from <a href="../../../../com/badlogic/gdx/math/Matrix4.html#val"><code>val</code></a>. The vector array is assumed to hold a 3-component vector, with x being the first element, y being |
||
| 1568 | the second and z being the last component. The result is stored in the vector array. This is the same as |
||
| 1569 | <a href="../../../../com/badlogic/gdx/math/Vector3.html#mul(com.badlogic.gdx.math.Matrix4)"><code>Vector3.mul(Matrix4)</code></a>.</div> |
||
| 1570 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>mat</code> - the matrix</dd><dd><code>vec</code> - the vector.</dd></dl> |
||
| 1571 | </li> |
||
| 1572 | </ul> |
||
| 1573 | <a name="mulVec(float[], float[], int, int, int)"> |
||
| 1574 | <!-- --> |
||
| 1575 | </a> |
||
| 1576 | <ul class="blockList"> |
||
| 1577 | <li class="blockList"> |
||
| 1578 | <h4>mulVec</h4> |
||
| 1579 | <pre>public static void mulVec(float[] mat, |
||
| 1580 | float[] vecs, |
||
| 1581 | int offset, |
||
| 1582 | int numVecs, |
||
| 1583 | int stride)</pre> |
||
| 1584 | <div class="block">Multiplies the vectors with the given matrix. The matrix array is assumed to hold a 4x4 column major matrix as you can get |
||
| 1585 | from <a href="../../../../com/badlogic/gdx/math/Matrix4.html#val"><code>val</code></a>. The vectors array is assumed to hold 3-component vectors. Offset specifies the offset into the |
||
| 1586 | array where the x-component of the first vector is located. The numVecs parameter specifies the number of vectors stored in |
||
| 1587 | the vectors array. The stride parameter specifies the number of floats between subsequent vectors and must be >= 3. This is |
||
| 1588 | the same as <a href="../../../../com/badlogic/gdx/math/Vector3.html#mul(com.badlogic.gdx.math.Matrix4)"><code>Vector3.mul(Matrix4)</code></a> applied to multiple vectors.</div> |
||
| 1589 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>mat</code> - the matrix</dd><dd><code>vecs</code> - the vectors</dd><dd><code>offset</code> - the offset into the vectors array</dd><dd><code>numVecs</code> - the number of vectors</dd><dd><code>stride</code> - the stride between vectors in floats</dd></dl> |
||
| 1590 | </li> |
||
| 1591 | </ul> |
||
| 1592 | <a name="prj(float[], float[])"> |
||
| 1593 | <!-- --> |
||
| 1594 | </a> |
||
| 1595 | <ul class="blockList"> |
||
| 1596 | <li class="blockList"> |
||
| 1597 | <h4>prj</h4> |
||
| 1598 | <pre>public static void prj(float[] mat, |
||
| 1599 | float[] vec)</pre> |
||
| 1600 | <div class="block">Multiplies the vector with the given matrix, performing a division by w. The matrix array is assumed to hold a 4x4 column |
||
| 1601 | major matrix as you can get from <a href="../../../../com/badlogic/gdx/math/Matrix4.html#val"><code>val</code></a>. The vector array is assumed to hold a 3-component vector, with x being |
||
| 1602 | the first element, y being the second and z being the last component. The result is stored in the vector array. This is the |
||
| 1603 | same as <a href="../../../../com/badlogic/gdx/math/Vector3.html#prj(com.badlogic.gdx.math.Matrix4)"><code>Vector3.prj(Matrix4)</code></a>.</div> |
||
| 1604 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>mat</code> - the matrix</dd><dd><code>vec</code> - the vector.</dd></dl> |
||
| 1605 | </li> |
||
| 1606 | </ul> |
||
| 1607 | <a name="prj(float[], float[], int, int, int)"> |
||
| 1608 | <!-- --> |
||
| 1609 | </a> |
||
| 1610 | <ul class="blockList"> |
||
| 1611 | <li class="blockList"> |
||
| 1612 | <h4>prj</h4> |
||
| 1613 | <pre>public static void prj(float[] mat, |
||
| 1614 | float[] vecs, |
||
| 1615 | int offset, |
||
| 1616 | int numVecs, |
||
| 1617 | int stride)</pre> |
||
| 1618 | <div class="block">Multiplies the vectors with the given matrix, , performing a division by w. The matrix array is assumed to hold a 4x4 column |
||
| 1619 | major matrix as you can get from <a href="../../../../com/badlogic/gdx/math/Matrix4.html#val"><code>val</code></a>. The vectors array is assumed to hold 3-component vectors. Offset |
||
| 1620 | specifies the offset into the array where the x-component of the first vector is located. The numVecs parameter specifies |
||
| 1621 | the number of vectors stored in the vectors array. The stride parameter specifies the number of floats between subsequent |
||
| 1622 | vectors and must be >= 3. This is the same as <a href="../../../../com/badlogic/gdx/math/Vector3.html#prj(com.badlogic.gdx.math.Matrix4)"><code>Vector3.prj(Matrix4)</code></a> applied to multiple vectors.</div> |
||
| 1623 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>mat</code> - the matrix</dd><dd><code>vecs</code> - the vectors</dd><dd><code>offset</code> - the offset into the vectors array</dd><dd><code>numVecs</code> - the number of vectors</dd><dd><code>stride</code> - the stride between vectors in floats</dd></dl> |
||
| 1624 | </li> |
||
| 1625 | </ul> |
||
| 1626 | <a name="rot(float[], float[])"> |
||
| 1627 | <!-- --> |
||
| 1628 | </a> |
||
| 1629 | <ul class="blockList"> |
||
| 1630 | <li class="blockList"> |
||
| 1631 | <h4>rot</h4> |
||
| 1632 | <pre>public static void rot(float[] mat, |
||
| 1633 | float[] vec)</pre> |
||
| 1634 | <div class="block">Multiplies the vector with the top most 3x3 sub-matrix of the given matrix. The matrix array is assumed to hold a 4x4 column |
||
| 1635 | major matrix as you can get from <a href="../../../../com/badlogic/gdx/math/Matrix4.html#val"><code>val</code></a>. The vector array is assumed to hold a 3-component vector, with x being |
||
| 1636 | the first element, y being the second and z being the last component. The result is stored in the vector array. This is the |
||
| 1637 | same as <a href="../../../../com/badlogic/gdx/math/Vector3.html#rot(com.badlogic.gdx.math.Matrix4)"><code>Vector3.rot(Matrix4)</code></a>.</div> |
||
| 1638 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>mat</code> - the matrix</dd><dd><code>vec</code> - the vector.</dd></dl> |
||
| 1639 | </li> |
||
| 1640 | </ul> |
||
| 1641 | <a name="rot(float[], float[], int, int, int)"> |
||
| 1642 | <!-- --> |
||
| 1643 | </a> |
||
| 1644 | <ul class="blockList"> |
||
| 1645 | <li class="blockList"> |
||
| 1646 | <h4>rot</h4> |
||
| 1647 | <pre>public static void rot(float[] mat, |
||
| 1648 | float[] vecs, |
||
| 1649 | int offset, |
||
| 1650 | int numVecs, |
||
| 1651 | int stride)</pre> |
||
| 1652 | <div class="block">Multiplies the vectors with the top most 3x3 sub-matrix of the given matrix. The matrix array is assumed to hold a 4x4 |
||
| 1653 | column major matrix as you can get from <a href="../../../../com/badlogic/gdx/math/Matrix4.html#val"><code>val</code></a>. The vectors array is assumed to hold 3-component vectors. |
||
| 1654 | Offset specifies the offset into the array where the x-component of the first vector is located. The numVecs parameter |
||
| 1655 | specifies the number of vectors stored in the vectors array. The stride parameter specifies the number of floats between |
||
| 1656 | subsequent vectors and must be >= 3. This is the same as <a href="../../../../com/badlogic/gdx/math/Vector3.html#rot(com.badlogic.gdx.math.Matrix4)"><code>Vector3.rot(Matrix4)</code></a> applied to multiple vectors.</div> |
||
| 1657 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>mat</code> - the matrix</dd><dd><code>vecs</code> - the vectors</dd><dd><code>offset</code> - the offset into the vectors array</dd><dd><code>numVecs</code> - the number of vectors</dd><dd><code>stride</code> - the stride between vectors in floats</dd></dl> |
||
| 1658 | </li> |
||
| 1659 | </ul> |
||
| 1660 | <a name="inv(float[])"> |
||
| 1661 | <!-- --> |
||
| 1662 | </a> |
||
| 1663 | <ul class="blockList"> |
||
| 1664 | <li class="blockList"> |
||
| 1665 | <h4>inv</h4> |
||
| 1666 | <pre>public static boolean inv(float[] values)</pre> |
||
| 1667 | <div class="block">Computes the inverse of the given matrix. The matrix array is assumed to hold a 4x4 column major matrix as you can get from |
||
| 1668 | <a href="../../../../com/badlogic/gdx/math/Matrix4.html#val"><code>val</code></a>.</div> |
||
| 1669 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>values</code> - the matrix values.</dd> |
||
| 1670 | <dt><span class="strong">Returns:</span></dt><dd>false in case the inverse could not be calculated, true otherwise.</dd></dl> |
||
| 1671 | </li> |
||
| 1672 | </ul> |
||
| 1673 | <a name="det(float[])"> |
||
| 1674 | <!-- --> |
||
| 1675 | </a> |
||
| 1676 | <ul class="blockList"> |
||
| 1677 | <li class="blockList"> |
||
| 1678 | <h4>det</h4> |
||
| 1679 | <pre>public static float det(float[] values)</pre> |
||
| 1680 | <div class="block">Computes the determinante of the given matrix. The matrix array is assumed to hold a 4x4 column major matrix as you can get |
||
| 1681 | from <a href="../../../../com/badlogic/gdx/math/Matrix4.html#val"><code>val</code></a>.</div> |
||
| 1682 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>values</code> - the matrix values.</dd> |
||
| 1683 | <dt><span class="strong">Returns:</span></dt><dd>the determinante.</dd></dl> |
||
| 1684 | </li> |
||
| 1685 | </ul> |
||
| 1686 | <a name="translate(com.badlogic.gdx.math.Vector3)"> |
||
| 1687 | <!-- --> |
||
| 1688 | </a> |
||
| 1689 | <ul class="blockList"> |
||
| 1690 | <li class="blockList"> |
||
| 1691 | <h4>translate</h4> |
||
| 1692 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> translate(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> translation)</pre> |
||
| 1693 | <div class="block">Postmultiplies this matrix by a translation matrix. Postmultiplication is also used by OpenGL ES' |
||
| 1694 | glTranslate/glRotate/glScale</div> |
||
| 1695 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>translation</code> - </dd> |
||
| 1696 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1697 | </li> |
||
| 1698 | </ul> |
||
| 1699 | <a name="translate(float, float, float)"> |
||
| 1700 | <!-- --> |
||
| 1701 | </a> |
||
| 1702 | <ul class="blockList"> |
||
| 1703 | <li class="blockList"> |
||
| 1704 | <h4>translate</h4> |
||
| 1705 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> translate(float x, |
||
| 1706 | float y, |
||
| 1707 | float z)</pre> |
||
| 1708 | <div class="block">Postmultiplies this matrix by a translation matrix. Postmultiplication is also used by OpenGL ES' 1.x |
||
| 1709 | glTranslate/glRotate/glScale.</div> |
||
| 1710 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - Translation in the x-axis.</dd><dd><code>y</code> - Translation in the y-axis.</dd><dd><code>z</code> - Translation in the z-axis.</dd> |
||
| 1711 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1712 | </li> |
||
| 1713 | </ul> |
||
| 1714 | <a name="rotate(com.badlogic.gdx.math.Vector3, float)"> |
||
| 1715 | <!-- --> |
||
| 1716 | </a> |
||
| 1717 | <ul class="blockList"> |
||
| 1718 | <li class="blockList"> |
||
| 1719 | <h4>rotate</h4> |
||
| 1720 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> rotate(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> axis, |
||
| 1721 | float degrees)</pre> |
||
| 1722 | <div class="block">Postmultiplies this matrix with a (counter-clockwise) rotation matrix. Postmultiplication is also used by OpenGL ES' 1.x |
||
| 1723 | glTranslate/glRotate/glScale.</div> |
||
| 1724 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>axis</code> - The vector axis to rotate around.</dd><dd><code>degrees</code> - The angle in degrees.</dd> |
||
| 1725 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1726 | </li> |
||
| 1727 | </ul> |
||
| 1728 | <a name="rotate(float, float, float, float)"> |
||
| 1729 | <!-- --> |
||
| 1730 | </a> |
||
| 1731 | <ul class="blockList"> |
||
| 1732 | <li class="blockList"> |
||
| 1733 | <h4>rotate</h4> |
||
| 1734 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> rotate(float axisX, |
||
| 1735 | float axisY, |
||
| 1736 | float axisZ, |
||
| 1737 | float degrees)</pre> |
||
| 1738 | <div class="block">Postmultiplies this matrix with a (counter-clockwise) rotation matrix. Postmultiplication is also used by OpenGL ES' 1.x |
||
| 1739 | glTranslate/glRotate/glScale</div> |
||
| 1740 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>axisX</code> - The x-axis component of the vector to rotate around.</dd><dd><code>axisY</code> - The y-axis component of the vector to rotate around.</dd><dd><code>axisZ</code> - The z-axis component of the vector to rotate around.</dd><dd><code>degrees</code> - The angle in degrees</dd> |
||
| 1741 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1742 | </li> |
||
| 1743 | </ul> |
||
| 1744 | <a name="rotate(com.badlogic.gdx.math.Quaternion)"> |
||
| 1745 | <!-- --> |
||
| 1746 | </a> |
||
| 1747 | <ul class="blockList"> |
||
| 1748 | <li class="blockList"> |
||
| 1749 | <h4>rotate</h4> |
||
| 1750 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> rotate(<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a> rotation)</pre> |
||
| 1751 | <div class="block">Postmultiplies this matrix with a (counter-clockwise) rotation matrix. Postmultiplication is also used by OpenGL ES' 1.x |
||
| 1752 | glTranslate/glRotate/glScale.</div> |
||
| 1753 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>rotation</code> - </dd> |
||
| 1754 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1755 | </li> |
||
| 1756 | </ul> |
||
| 1757 | <a name="rotate(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)"> |
||
| 1758 | <!-- --> |
||
| 1759 | </a> |
||
| 1760 | <ul class="blockList"> |
||
| 1761 | <li class="blockList"> |
||
| 1762 | <h4>rotate</h4> |
||
| 1763 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> rotate(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> v1, |
||
| 1764 | <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a> v2)</pre> |
||
| 1765 | <div class="block">Postmultiplies this matrix by the rotation between two vectors.</div> |
||
| 1766 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>v1</code> - The base vector</dd><dd><code>v2</code> - The target vector</dd> |
||
| 1767 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together</dd></dl> |
||
| 1768 | </li> |
||
| 1769 | </ul> |
||
| 1770 | <a name="scale(float, float, float)"> |
||
| 1771 | <!-- --> |
||
| 1772 | </a> |
||
| 1773 | <ul class="blockListLast"> |
||
| 1774 | <li class="blockList"> |
||
| 1775 | <h4>scale</h4> |
||
| 1776 | <pre>public <a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a> scale(float scaleX, |
||
| 1777 | float scaleY, |
||
| 1778 | float scaleZ)</pre> |
||
| 1779 | <div class="block">Postmultiplies this matrix with a scale matrix. Postmultiplication is also used by OpenGL ES' 1.x |
||
| 1780 | glTranslate/glRotate/glScale.</div> |
||
| 1781 | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>scaleX</code> - The scale in the x-axis.</dd><dd><code>scaleY</code> - The scale in the y-axis.</dd><dd><code>scaleZ</code> - The scale in the z-axis.</dd> |
||
| 1782 | <dt><span class="strong">Returns:</span></dt><dd>This matrix for the purpose of chaining methods together.</dd></dl> |
||
| 1783 | </li> |
||
| 1784 | </ul> |
||
| 1785 | </li> |
||
| 1786 | </ul> |
||
| 1787 | </li> |
||
| 1788 | </ul> |
||
| 1789 | </div> |
||
| 1790 | </div> |
||
| 1791 | <!-- ========= END OF CLASS DATA ========= --> |
||
| 1792 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
||
| 1793 | <div class="bottomNav"><a name="navbar_bottom"> |
||
| 1794 | <!-- --> |
||
| 1795 | </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
||
| 1796 | <!-- --> |
||
| 1797 | </a> |
||
| 1798 | <ul class="navList" title="Navigation"> |
||
| 1799 | <li><a href="../../../../overview-summary.html">Overview</a></li> |
||
| 1800 | <li><a href="package-summary.html">Package</a></li> |
||
| 1801 | <li class="navBarCell1Rev">Class</li> |
||
| 1802 | <li><a href="class-use/Matrix4.html">Use</a></li> |
||
| 1803 | <li><a href="package-tree.html">Tree</a></li> |
||
| 1804 | <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
||
| 1805 | <li><a href="../../../../index-all.html">Index</a></li> |
||
| 1806 | <li><a href="../../../../help-doc.html">Help</a></li> |
||
| 1807 | </ul> |
||
| 1808 | <div class="aboutLanguage"><em>libgdx API</em></div> |
||
| 1809 | </div> |
||
| 1810 | <div class="subNav"> |
||
| 1811 | <ul class="navList"> |
||
| 1812 | <li><a href="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math"><span class="strong">Prev Class</span></a></li> |
||
| 1813 | <li><a href="../../../../com/badlogic/gdx/math/Path.html" title="interface in com.badlogic.gdx.math"><span class="strong">Next Class</span></a></li> |
||
| 1814 | </ul> |
||
| 1815 | <ul class="navList"> |
||
| 1816 | <li><a href="../../../../index.html?com/badlogic/gdx/math/Matrix4.html" target="_top">Frames</a></li> |
||
| 1817 | <li><a href="Matrix4.html" target="_top">No Frames</a></li> |
||
| 1818 | </ul> |
||
| 1819 | <ul class="navList" id="allclasses_navbar_bottom"> |
||
| 1820 | <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
||
| 1821 | </ul> |
||
| 1822 | <div> |
||
| 1823 | <script type="text/javascript"><!-- |
||
| 1824 | allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
||
| 1825 | if(window==top) { |
||
| 1826 | allClassesLink.style.display = "block"; |
||
| 1827 | } |
||
| 1828 | else { |
||
| 1829 | allClassesLink.style.display = "none"; |
||
| 1830 | } |
||
| 1831 | //--> |
||
| 1832 | </script> |
||
| 1833 | </div> |
||
| 1834 | <div> |
||
| 1835 | <ul class="subNavList"> |
||
| 1836 | <li>Summary: </li> |
||
| 1837 | <li>Nested | </li> |
||
| 1838 | <li><a href="#field_summary">Field</a> | </li> |
||
| 1839 | <li><a href="#constructor_summary">Constr</a> | </li> |
||
| 1840 | <li><a href="#method_summary">Method</a></li> |
||
| 1841 | </ul> |
||
| 1842 | <ul class="subNavList"> |
||
| 1843 | <li>Detail: </li> |
||
| 1844 | <li><a href="#field_detail">Field</a> | </li> |
||
| 1845 | <li><a href="#constructor_detail">Constr</a> | </li> |
||
| 1846 | <li><a href="#method_detail">Method</a></li> |
||
| 1847 | </ul> |
||
| 1848 | </div> |
||
| 1849 | <a name="skip-navbar_bottom"> |
||
| 1850 | <!-- --> |
||
| 1851 | </a></div> |
||
| 1852 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
||
| 1853 | <p class="legalCopy"><small> |
||
| 1854 | <div style="font-size:9pt"><i> |
||
| 1855 | Copyright © 2010-2013 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) |
||
| 1856 | </i></div> |
||
| 1857 | </small></p> |
||
| 1858 | </body> |
||
| 1859 | </html> |