Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 307 | chris | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 | <!--NewPage--> |
||
| 3 | <HTML> |
||
| 4 | <HEAD> |
||
| 5 | <!-- Generated by javadoc (build 1.6.0_26) on Sun Jun 03 02:18:09 CEST 2012 --> |
||
| 6 | <TITLE> |
||
| 7 | Matrix3 (libgdx API) |
||
| 8 | </TITLE> |
||
| 9 | |||
| 10 | <META NAME="date" CONTENT="2012-06-03"> |
||
| 11 | |||
| 12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
||
| 13 | |||
| 14 | <SCRIPT type="text/javascript"> |
||
| 15 | function windowTitle() |
||
| 16 | { |
||
| 17 | if (location.href.indexOf('is-external=true') == -1) { |
||
| 18 | parent.document.title="Matrix3 (libgdx API)"; |
||
| 19 | } |
||
| 20 | } |
||
| 21 | </SCRIPT> |
||
| 22 | <NOSCRIPT> |
||
| 23 | </NOSCRIPT> |
||
| 24 | |||
| 25 | </HEAD> |
||
| 26 | |||
| 27 | <BODY BGCOLOR="white" onload="windowTitle();"> |
||
| 28 | <HR> |
||
| 29 | |||
| 30 | |||
| 31 | <!-- ========= START OF TOP NAVBAR ======= --> |
||
| 32 | <A NAME="navbar_top"><!-- --></A> |
||
| 33 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
||
| 34 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
| 35 | <TR> |
||
| 36 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
| 37 | <A NAME="navbar_top_firstrow"><!-- --></A> |
||
| 38 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
| 39 | <TR ALIGN="center" VALIGN="top"> |
||
| 40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
| 41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
| 42 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
| 43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Matrix3.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
||
| 44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
| 45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
| 46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
| 47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
| 48 | </TR> |
||
| 49 | </TABLE> |
||
| 50 | </TD> |
||
| 51 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
| 52 | |||
| 53 | libgdx API |
||
| 54 | <style> |
||
| 55 | body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt } |
||
| 56 | pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif } |
||
| 57 | h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%; font-weight:bold } |
||
| 58 | .TableHeadingColor { background:#EEEEFF; } |
||
| 59 | a { text-decoration:none } |
||
| 60 | a:hover { text-decoration:underline } |
||
| 61 | a:link, a:visited { color:blue } |
||
| 62 | table { border:0px } |
||
| 63 | .TableRowColor td:first-child { border-left:1px solid black } |
||
| 64 | .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black } |
||
| 65 | hr { border:0px; border-bottom:1px solid #333366; } |
||
| 66 | </style> |
||
| 67 | </EM> |
||
| 68 | </TD> |
||
| 69 | </TR> |
||
| 70 | |||
| 71 | <TR> |
||
| 72 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 73 | <A HREF="../../../../com/badlogic/gdx/math/MathUtils.html" title="class in com.badlogic.gdx.math"><B>PREV CLASS</B></A> |
||
| 74 | <A HREF="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math"><B>NEXT CLASS</B></A></FONT></TD> |
||
| 75 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 76 | <A HREF="../../../../index.html?com/badlogic/gdx/math/Matrix3.html" target="_top"><B>FRAMES</B></A> |
||
| 77 | <A HREF="Matrix3.html" target="_top"><B>NO FRAMES</B></A> |
||
| 78 | <SCRIPT type="text/javascript"> |
||
| 79 | <!-- |
||
| 80 | if(window==top) { |
||
| 81 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
||
| 82 | } |
||
| 83 | //--> |
||
| 84 | </SCRIPT> |
||
| 85 | <NOSCRIPT> |
||
| 86 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
| 87 | </NOSCRIPT> |
||
| 88 | |||
| 89 | |||
| 90 | </FONT></TD> |
||
| 91 | </TR> |
||
| 92 | <TR> |
||
| 93 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 94 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
| 95 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 96 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
| 97 | </TR> |
||
| 98 | </TABLE> |
||
| 99 | <A NAME="skip-navbar_top"></A> |
||
| 100 | <!-- ========= END OF TOP NAVBAR ========= --> |
||
| 101 | |||
| 102 | <HR> |
||
| 103 | <!-- ======== START OF CLASS DATA ======== --> |
||
| 104 | <H2> |
||
| 105 | <FONT SIZE="-1"> |
||
| 106 | com.badlogic.gdx.math</FONT> |
||
| 107 | <BR> |
||
| 108 | Class Matrix3</H2> |
||
| 109 | <PRE> |
||
| 110 | java.lang.Object |
||
| 111 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.math.Matrix3</B> |
||
| 112 | </PRE> |
||
| 113 | <DL> |
||
| 114 | <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD> |
||
| 115 | </DL> |
||
| 116 | <HR> |
||
| 117 | <DL> |
||
| 118 | <DT><PRE>public class <B>Matrix3</B><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL> |
||
| 119 | </PRE> |
||
| 120 | |||
| 121 | <P> |
||
| 122 | A 3x3 column major matrix for 2D transforms. |
||
| 123 | <P> |
||
| 124 | |||
| 125 | <P> |
||
| 126 | <DL> |
||
| 127 | <DT><B>Author:</B></DT> |
||
| 128 | <DD>mzechner</DD> |
||
| 129 | <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#com.badlogic.gdx.math.Matrix3">Serialized Form</A></DL> |
||
| 130 | <HR> |
||
| 131 | |||
| 132 | <P> |
||
| 133 | <!-- =========== FIELD SUMMARY =========== --> |
||
| 134 | |||
| 135 | <A NAME="field_summary"><!-- --></A> |
||
| 136 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 137 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 138 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
| 139 | <B>Field Summary</B></FONT></TH> |
||
| 140 | </TR> |
||
| 141 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 142 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 143 | <CODE>static int</CODE></FONT></TD> |
||
| 144 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#M00">M00</A></B></CODE> |
||
| 145 | |||
| 146 | <BR> |
||
| 147 | </TD> |
||
| 148 | </TR> |
||
| 149 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 150 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 151 | <CODE>static int</CODE></FONT></TD> |
||
| 152 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#M01">M01</A></B></CODE> |
||
| 153 | |||
| 154 | <BR> |
||
| 155 | </TD> |
||
| 156 | </TR> |
||
| 157 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 158 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 159 | <CODE>static int</CODE></FONT></TD> |
||
| 160 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#M02">M02</A></B></CODE> |
||
| 161 | |||
| 162 | <BR> |
||
| 163 | </TD> |
||
| 164 | </TR> |
||
| 165 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 166 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 167 | <CODE>static int</CODE></FONT></TD> |
||
| 168 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#M10">M10</A></B></CODE> |
||
| 169 | |||
| 170 | <BR> |
||
| 171 | </TD> |
||
| 172 | </TR> |
||
| 173 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 174 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 175 | <CODE>static int</CODE></FONT></TD> |
||
| 176 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#M11">M11</A></B></CODE> |
||
| 177 | |||
| 178 | <BR> |
||
| 179 | </TD> |
||
| 180 | </TR> |
||
| 181 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 182 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 183 | <CODE>static int</CODE></FONT></TD> |
||
| 184 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#M12">M12</A></B></CODE> |
||
| 185 | |||
| 186 | <BR> |
||
| 187 | </TD> |
||
| 188 | </TR> |
||
| 189 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 190 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 191 | <CODE>static int</CODE></FONT></TD> |
||
| 192 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#M20">M20</A></B></CODE> |
||
| 193 | |||
| 194 | <BR> |
||
| 195 | </TD> |
||
| 196 | </TR> |
||
| 197 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 198 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 199 | <CODE>static int</CODE></FONT></TD> |
||
| 200 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#M21">M21</A></B></CODE> |
||
| 201 | |||
| 202 | <BR> |
||
| 203 | </TD> |
||
| 204 | </TR> |
||
| 205 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 206 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 207 | <CODE>static int</CODE></FONT></TD> |
||
| 208 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#M22">M22</A></B></CODE> |
||
| 209 | |||
| 210 | <BR> |
||
| 211 | </TD> |
||
| 212 | </TR> |
||
| 213 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 214 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 215 | <CODE> float[]</CODE></FONT></TD> |
||
| 216 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#val">val</A></B></CODE> |
||
| 217 | |||
| 218 | <BR> |
||
| 219 | </TD> |
||
| 220 | </TR> |
||
| 221 | </TABLE> |
||
| 222 | |
||
| 223 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
||
| 224 | |||
| 225 | <A NAME="constructor_summary"><!-- --></A> |
||
| 226 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 227 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 228 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
| 229 | <B>Constructor Summary</B></FONT></TH> |
||
| 230 | </TR> |
||
| 231 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 232 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#Matrix3()">Matrix3</A></B>()</CODE> |
||
| 233 | |||
| 234 | <BR> |
||
| 235 | </TD> |
||
| 236 | </TR> |
||
| 237 | </TABLE> |
||
| 238 | |
||
| 239 | <!-- ========== METHOD SUMMARY =========== --> |
||
| 240 | |||
| 241 | <A NAME="method_summary"><!-- --></A> |
||
| 242 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 243 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 244 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
| 245 | <B>Method Summary</B></FONT></TH> |
||
| 246 | </TR> |
||
| 247 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 248 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 249 | <CODE> float</CODE></FONT></TD> |
||
| 250 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#det()">det</A></B>()</CODE> |
||
| 251 | |||
| 252 | <BR> |
||
| 253 | </TD> |
||
| 254 | </TR> |
||
| 255 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 256 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 257 | <CODE> float[]</CODE></FONT></TD> |
||
| 258 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#getValues()">getValues</A></B>()</CODE> |
||
| 259 | |||
| 260 | <BR> |
||
| 261 | </TD> |
||
| 262 | </TR> |
||
| 263 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 264 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 265 | <CODE> <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A></CODE></FONT></TD> |
||
| 266 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#idt()">idt</A></B>()</CODE> |
||
| 267 | |||
| 268 | <BR> |
||
| 269 | Sets this matrix to the identity matrix</TD> |
||
| 270 | </TR> |
||
| 271 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 272 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 273 | <CODE> <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A></CODE></FONT></TD> |
||
| 274 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#inv()">inv</A></B>()</CODE> |
||
| 275 | |||
| 276 | <BR> |
||
| 277 | Inverts this matrix given that the determinant is != 0</TD> |
||
| 278 | </TR> |
||
| 279 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 280 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 281 | <CODE> <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A></CODE></FONT></TD> |
||
| 282 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#mul(com.badlogic.gdx.math.Matrix3)">mul</A></B>(<A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A> m)</CODE> |
||
| 283 | |||
| 284 | <BR> |
||
| 285 | Multiplies this matrix with the other matrix in the order this * m.</TD> |
||
| 286 | </TR> |
||
| 287 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 288 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 289 | <CODE> <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A></CODE></FONT></TD> |
||
| 290 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#rotate(float)">rotate</A></B>(float angle)</CODE> |
||
| 291 | |||
| 292 | <BR> |
||
| 293 | Postmultiplies this matrix with a (counter-clockwise) rotation matrix.</TD> |
||
| 294 | </TR> |
||
| 295 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 296 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 297 | <CODE> <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A></CODE></FONT></TD> |
||
| 298 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#scale(float, float)">scale</A></B>(float scaleX, |
||
| 299 | float scaleY)</CODE> |
||
| 300 | |||
| 301 | <BR> |
||
| 302 | Postmultiplies this matrix with a scale matrix.</TD> |
||
| 303 | </TR> |
||
| 304 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 305 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 306 | <CODE> <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A></CODE></FONT></TD> |
||
| 307 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#scl(float)">scl</A></B>(float scale)</CODE> |
||
| 308 | |||
| 309 | <BR> |
||
| 310 | </TD> |
||
| 311 | </TR> |
||
| 312 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 313 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 314 | <CODE> <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A></CODE></FONT></TD> |
||
| 315 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#scl(com.badlogic.gdx.math.Vector3)">scl</A></B>(<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A> scale)</CODE> |
||
| 316 | |||
| 317 | <BR> |
||
| 318 | </TD> |
||
| 319 | </TR> |
||
| 320 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 321 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 322 | <CODE> <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A></CODE></FONT></TD> |
||
| 323 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#set(com.badlogic.gdx.math.Matrix3)">set</A></B>(<A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A> mat)</CODE> |
||
| 324 | |||
| 325 | <BR> |
||
| 326 | </TD> |
||
| 327 | </TR> |
||
| 328 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 329 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 330 | <CODE> <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A></CODE></FONT></TD> |
||
| 331 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#set(com.badlogic.gdx.math.Matrix4)">set</A></B>(<A HREF="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</A> mat)</CODE> |
||
| 332 | |||
| 333 | <BR> |
||
| 334 | </TD> |
||
| 335 | </TR> |
||
| 336 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 337 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 338 | <CODE> <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A></CODE></FONT></TD> |
||
| 339 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#setToRotation(float)">setToRotation</A></B>(float angle)</CODE> |
||
| 340 | |||
| 341 | <BR> |
||
| 342 | Sets this matrix to a rotation matrix that will rotate any vector in counter clockwise order around the z-axis.</TD> |
||
| 343 | </TR> |
||
| 344 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 345 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 346 | <CODE> <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A></CODE></FONT></TD> |
||
| 347 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#setToScaling(float, float)">setToScaling</A></B>(float scaleX, |
||
| 348 | float scaleY)</CODE> |
||
| 349 | |||
| 350 | <BR> |
||
| 351 | Sets this matrix to a scaling matrix</TD> |
||
| 352 | </TR> |
||
| 353 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 354 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 355 | <CODE> <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A></CODE></FONT></TD> |
||
| 356 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#setToTranslation(float, float)">setToTranslation</A></B>(float x, |
||
| 357 | float y)</CODE> |
||
| 358 | |||
| 359 | <BR> |
||
| 360 | Sets this matrix to a translation matrix.</TD> |
||
| 361 | </TR> |
||
| 362 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 363 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 364 | <CODE> java.lang.String</CODE></FONT></TD> |
||
| 365 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#toString()">toString</A></B>()</CODE> |
||
| 366 | |||
| 367 | <BR> |
||
| 368 | </TD> |
||
| 369 | </TR> |
||
| 370 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 371 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 372 | <CODE> <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A></CODE></FONT></TD> |
||
| 373 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#translate(float, float)">translate</A></B>(float x, |
||
| 374 | float y)</CODE> |
||
| 375 | |||
| 376 | <BR> |
||
| 377 | Postmultiplies this matrix by a translation matrix.</TD> |
||
| 378 | </TR> |
||
| 379 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 380 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 381 | <CODE> <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A></CODE></FONT></TD> |
||
| 382 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#trn(float, float)">trn</A></B>(float x, |
||
| 383 | float y)</CODE> |
||
| 384 | |||
| 385 | <BR> |
||
| 386 | Adds a translational component to the matrix in the 3rd column.</TD> |
||
| 387 | </TR> |
||
| 388 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 389 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 390 | <CODE> <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A></CODE></FONT></TD> |
||
| 391 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Matrix3.html#trn(com.badlogic.gdx.math.Vector3)">trn</A></B>(<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A> vector)</CODE> |
||
| 392 | |||
| 393 | <BR> |
||
| 394 | Adds a translational component to the matrix in the 3rd column.</TD> |
||
| 395 | </TR> |
||
| 396 | </TABLE> |
||
| 397 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
||
| 398 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 399 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
| 400 | <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
||
| 401 | </TR> |
||
| 402 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 403 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> |
||
| 404 | </TR> |
||
| 405 | </TABLE> |
||
| 406 | |
||
| 407 | <P> |
||
| 408 | |||
| 409 | <!-- ============ FIELD DETAIL =========== --> |
||
| 410 | |||
| 411 | <A NAME="field_detail"><!-- --></A> |
||
| 412 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 413 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 414 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
| 415 | <B>Field Detail</B></FONT></TH> |
||
| 416 | </TR> |
||
| 417 | </TABLE> |
||
| 418 | |||
| 419 | <A NAME="M00"><!-- --></A><H3> |
||
| 420 | M00</H3> |
||
| 421 | <PRE> |
||
| 422 | public static final int <B>M00</B></PRE> |
||
| 423 | <DL> |
||
| 424 | <DL> |
||
| 425 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.badlogic.gdx.math.Matrix3.M00">Constant Field Values</A></DL> |
||
| 426 | </DL> |
||
| 427 | <HR> |
||
| 428 | |||
| 429 | <A NAME="M01"><!-- --></A><H3> |
||
| 430 | M01</H3> |
||
| 431 | <PRE> |
||
| 432 | public static final int <B>M01</B></PRE> |
||
| 433 | <DL> |
||
| 434 | <DL> |
||
| 435 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.badlogic.gdx.math.Matrix3.M01">Constant Field Values</A></DL> |
||
| 436 | </DL> |
||
| 437 | <HR> |
||
| 438 | |||
| 439 | <A NAME="M02"><!-- --></A><H3> |
||
| 440 | M02</H3> |
||
| 441 | <PRE> |
||
| 442 | public static final int <B>M02</B></PRE> |
||
| 443 | <DL> |
||
| 444 | <DL> |
||
| 445 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.badlogic.gdx.math.Matrix3.M02">Constant Field Values</A></DL> |
||
| 446 | </DL> |
||
| 447 | <HR> |
||
| 448 | |||
| 449 | <A NAME="M10"><!-- --></A><H3> |
||
| 450 | M10</H3> |
||
| 451 | <PRE> |
||
| 452 | public static final int <B>M10</B></PRE> |
||
| 453 | <DL> |
||
| 454 | <DL> |
||
| 455 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.badlogic.gdx.math.Matrix3.M10">Constant Field Values</A></DL> |
||
| 456 | </DL> |
||
| 457 | <HR> |
||
| 458 | |||
| 459 | <A NAME="M11"><!-- --></A><H3> |
||
| 460 | M11</H3> |
||
| 461 | <PRE> |
||
| 462 | public static final int <B>M11</B></PRE> |
||
| 463 | <DL> |
||
| 464 | <DL> |
||
| 465 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.badlogic.gdx.math.Matrix3.M11">Constant Field Values</A></DL> |
||
| 466 | </DL> |
||
| 467 | <HR> |
||
| 468 | |||
| 469 | <A NAME="M12"><!-- --></A><H3> |
||
| 470 | M12</H3> |
||
| 471 | <PRE> |
||
| 472 | public static final int <B>M12</B></PRE> |
||
| 473 | <DL> |
||
| 474 | <DL> |
||
| 475 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.badlogic.gdx.math.Matrix3.M12">Constant Field Values</A></DL> |
||
| 476 | </DL> |
||
| 477 | <HR> |
||
| 478 | |||
| 479 | <A NAME="M20"><!-- --></A><H3> |
||
| 480 | M20</H3> |
||
| 481 | <PRE> |
||
| 482 | public static final int <B>M20</B></PRE> |
||
| 483 | <DL> |
||
| 484 | <DL> |
||
| 485 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.badlogic.gdx.math.Matrix3.M20">Constant Field Values</A></DL> |
||
| 486 | </DL> |
||
| 487 | <HR> |
||
| 488 | |||
| 489 | <A NAME="M21"><!-- --></A><H3> |
||
| 490 | M21</H3> |
||
| 491 | <PRE> |
||
| 492 | public static final int <B>M21</B></PRE> |
||
| 493 | <DL> |
||
| 494 | <DL> |
||
| 495 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.badlogic.gdx.math.Matrix3.M21">Constant Field Values</A></DL> |
||
| 496 | </DL> |
||
| 497 | <HR> |
||
| 498 | |||
| 499 | <A NAME="M22"><!-- --></A><H3> |
||
| 500 | M22</H3> |
||
| 501 | <PRE> |
||
| 502 | public static final int <B>M22</B></PRE> |
||
| 503 | <DL> |
||
| 504 | <DL> |
||
| 505 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.badlogic.gdx.math.Matrix3.M22">Constant Field Values</A></DL> |
||
| 506 | </DL> |
||
| 507 | <HR> |
||
| 508 | |||
| 509 | <A NAME="val"><!-- --></A><H3> |
||
| 510 | val</H3> |
||
| 511 | <PRE> |
||
| 512 | public float[] <B>val</B></PRE> |
||
| 513 | <DL> |
||
| 514 | <DL> |
||
| 515 | </DL> |
||
| 516 | </DL> |
||
| 517 | |||
| 518 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
||
| 519 | |||
| 520 | <A NAME="constructor_detail"><!-- --></A> |
||
| 521 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 522 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 523 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
| 524 | <B>Constructor Detail</B></FONT></TH> |
||
| 525 | </TR> |
||
| 526 | </TABLE> |
||
| 527 | |||
| 528 | <A NAME="Matrix3()"><!-- --></A><H3> |
||
| 529 | Matrix3</H3> |
||
| 530 | <PRE> |
||
| 531 | public <B>Matrix3</B>()</PRE> |
||
| 532 | <DL> |
||
| 533 | </DL> |
||
| 534 | |||
| 535 | <!-- ============ METHOD DETAIL ========== --> |
||
| 536 | |||
| 537 | <A NAME="method_detail"><!-- --></A> |
||
| 538 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 539 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 540 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
| 541 | <B>Method Detail</B></FONT></TH> |
||
| 542 | </TR> |
||
| 543 | </TABLE> |
||
| 544 | |||
| 545 | <A NAME="idt()"><!-- --></A><H3> |
||
| 546 | idt</H3> |
||
| 547 | <PRE> |
||
| 548 | public <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A> <B>idt</B>()</PRE> |
||
| 549 | <DL> |
||
| 550 | <DD>Sets this matrix to the identity matrix |
||
| 551 | <P> |
||
| 552 | <DD><DL> |
||
| 553 | </DL> |
||
| 554 | </DD> |
||
| 555 | <DD><DL> |
||
| 556 | |||
| 557 | <DT><B>Returns:</B><DD>this matrix</DL> |
||
| 558 | </DD> |
||
| 559 | </DL> |
||
| 560 | <HR> |
||
| 561 | |||
| 562 | <A NAME="mul(com.badlogic.gdx.math.Matrix3)"><!-- --></A><H3> |
||
| 563 | mul</H3> |
||
| 564 | <PRE> |
||
| 565 | public <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A> <B>mul</B>(<A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A> m)</PRE> |
||
| 566 | <DL> |
||
| 567 | <DD>Multiplies this matrix with the other matrix in the order this * m. |
||
| 568 | <P> |
||
| 569 | <DD><DL> |
||
| 570 | </DL> |
||
| 571 | </DD> |
||
| 572 | <DD><DL> |
||
| 573 | |||
| 574 | <DT><B>Returns:</B><DD>this matrix</DL> |
||
| 575 | </DD> |
||
| 576 | </DL> |
||
| 577 | <HR> |
||
| 578 | |||
| 579 | <A NAME="setToRotation(float)"><!-- --></A><H3> |
||
| 580 | setToRotation</H3> |
||
| 581 | <PRE> |
||
| 582 | public <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A> <B>setToRotation</B>(float angle)</PRE> |
||
| 583 | <DL> |
||
| 584 | <DD>Sets this matrix to a rotation matrix that will rotate any vector in counter clockwise order around the z-axis. |
||
| 585 | <P> |
||
| 586 | <DD><DL> |
||
| 587 | </DL> |
||
| 588 | </DD> |
||
| 589 | <DD><DL> |
||
| 590 | <DT><B>Parameters:</B><DD><CODE>angle</CODE> - the angle in degrees. |
||
| 591 | <DT><B>Returns:</B><DD>this matrix</DL> |
||
| 592 | </DD> |
||
| 593 | </DL> |
||
| 594 | <HR> |
||
| 595 | |||
| 596 | <A NAME="setToTranslation(float, float)"><!-- --></A><H3> |
||
| 597 | setToTranslation</H3> |
||
| 598 | <PRE> |
||
| 599 | public <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A> <B>setToTranslation</B>(float x, |
||
| 600 | float y)</PRE> |
||
| 601 | <DL> |
||
| 602 | <DD>Sets this matrix to a translation matrix. |
||
| 603 | <P> |
||
| 604 | <DD><DL> |
||
| 605 | </DL> |
||
| 606 | </DD> |
||
| 607 | <DD><DL> |
||
| 608 | <DT><B>Parameters:</B><DD><CODE>x</CODE> - the translation in x<DD><CODE>y</CODE> - the translation in y |
||
| 609 | <DT><B>Returns:</B><DD>this matrix</DL> |
||
| 610 | </DD> |
||
| 611 | </DL> |
||
| 612 | <HR> |
||
| 613 | |||
| 614 | <A NAME="setToScaling(float, float)"><!-- --></A><H3> |
||
| 615 | setToScaling</H3> |
||
| 616 | <PRE> |
||
| 617 | public <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A> <B>setToScaling</B>(float scaleX, |
||
| 618 | float scaleY)</PRE> |
||
| 619 | <DL> |
||
| 620 | <DD>Sets this matrix to a scaling matrix |
||
| 621 | <P> |
||
| 622 | <DD><DL> |
||
| 623 | </DL> |
||
| 624 | </DD> |
||
| 625 | <DD><DL> |
||
| 626 | <DT><B>Parameters:</B><DD><CODE>scaleX</CODE> - the scale in x<DD><CODE>scaleY</CODE> - the scale in y |
||
| 627 | <DT><B>Returns:</B><DD>this matrix</DL> |
||
| 628 | </DD> |
||
| 629 | </DL> |
||
| 630 | <HR> |
||
| 631 | |||
| 632 | <A NAME="toString()"><!-- --></A><H3> |
||
| 633 | toString</H3> |
||
| 634 | <PRE> |
||
| 635 | public java.lang.String <B>toString</B>()</PRE> |
||
| 636 | <DL> |
||
| 637 | <DD><DL> |
||
| 638 | <DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL> |
||
| 639 | </DD> |
||
| 640 | <DD><DL> |
||
| 641 | </DL> |
||
| 642 | </DD> |
||
| 643 | </DL> |
||
| 644 | <HR> |
||
| 645 | |||
| 646 | <A NAME="det()"><!-- --></A><H3> |
||
| 647 | det</H3> |
||
| 648 | <PRE> |
||
| 649 | public float <B>det</B>()</PRE> |
||
| 650 | <DL> |
||
| 651 | <DD><DL> |
||
| 652 | </DL> |
||
| 653 | </DD> |
||
| 654 | <DD><DL> |
||
| 655 | |||
| 656 | <DT><B>Returns:</B><DD>the determinant of this matrix</DL> |
||
| 657 | </DD> |
||
| 658 | </DL> |
||
| 659 | <HR> |
||
| 660 | |||
| 661 | <A NAME="inv()"><!-- --></A><H3> |
||
| 662 | inv</H3> |
||
| 663 | <PRE> |
||
| 664 | public <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A> <B>inv</B>()</PRE> |
||
| 665 | <DL> |
||
| 666 | <DD>Inverts this matrix given that the determinant is != 0 |
||
| 667 | <P> |
||
| 668 | <DD><DL> |
||
| 669 | </DL> |
||
| 670 | </DD> |
||
| 671 | <DD><DL> |
||
| 672 | |||
| 673 | <DT><B>Returns:</B><DD>this matrix</DL> |
||
| 674 | </DD> |
||
| 675 | </DL> |
||
| 676 | <HR> |
||
| 677 | |||
| 678 | <A NAME="set(com.badlogic.gdx.math.Matrix3)"><!-- --></A><H3> |
||
| 679 | set</H3> |
||
| 680 | <PRE> |
||
| 681 | public <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A> <B>set</B>(<A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A> mat)</PRE> |
||
| 682 | <DL> |
||
| 683 | <DD><DL> |
||
| 684 | </DL> |
||
| 685 | </DD> |
||
| 686 | <DD><DL> |
||
| 687 | </DL> |
||
| 688 | </DD> |
||
| 689 | </DL> |
||
| 690 | <HR> |
||
| 691 | |||
| 692 | <A NAME="set(com.badlogic.gdx.math.Matrix4)"><!-- --></A><H3> |
||
| 693 | set</H3> |
||
| 694 | <PRE> |
||
| 695 | public <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A> <B>set</B>(<A HREF="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</A> mat)</PRE> |
||
| 696 | <DL> |
||
| 697 | <DD><DL> |
||
| 698 | </DL> |
||
| 699 | </DD> |
||
| 700 | <DD><DL> |
||
| 701 | </DL> |
||
| 702 | </DD> |
||
| 703 | </DL> |
||
| 704 | <HR> |
||
| 705 | |||
| 706 | <A NAME="trn(com.badlogic.gdx.math.Vector3)"><!-- --></A><H3> |
||
| 707 | trn</H3> |
||
| 708 | <PRE> |
||
| 709 | public <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A> <B>trn</B>(<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A> vector)</PRE> |
||
| 710 | <DL> |
||
| 711 | <DD>Adds a translational component to the matrix in the 3rd column. The other columns are untouched. |
||
| 712 | <P> |
||
| 713 | <DD><DL> |
||
| 714 | </DL> |
||
| 715 | </DD> |
||
| 716 | <DD><DL> |
||
| 717 | <DT><B>Parameters:</B><DD><CODE>vector</CODE> - The translation vector |
||
| 718 | <DT><B>Returns:</B><DD>This matrix for chaining</DL> |
||
| 719 | </DD> |
||
| 720 | </DL> |
||
| 721 | <HR> |
||
| 722 | |||
| 723 | <A NAME="trn(float, float)"><!-- --></A><H3> |
||
| 724 | trn</H3> |
||
| 725 | <PRE> |
||
| 726 | public <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A> <B>trn</B>(float x, |
||
| 727 | float y)</PRE> |
||
| 728 | <DL> |
||
| 729 | <DD>Adds a translational component to the matrix in the 3rd column. The other columns are untouched. |
||
| 730 | <P> |
||
| 731 | <DD><DL> |
||
| 732 | </DL> |
||
| 733 | </DD> |
||
| 734 | <DD><DL> |
||
| 735 | <DT><B>Parameters:</B><DD><CODE>x</CODE> - The x-component of the translation vector<DD><CODE>y</CODE> - The y-component of the translation vector |
||
| 736 | <DT><B>Returns:</B><DD>This matrix for chaining</DL> |
||
| 737 | </DD> |
||
| 738 | </DL> |
||
| 739 | <HR> |
||
| 740 | |||
| 741 | <A NAME="translate(float, float)"><!-- --></A><H3> |
||
| 742 | translate</H3> |
||
| 743 | <PRE> |
||
| 744 | public <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A> <B>translate</B>(float x, |
||
| 745 | float y)</PRE> |
||
| 746 | <DL> |
||
| 747 | <DD>Postmultiplies this matrix by a translation matrix. Postmultiplication is also used by OpenGL ES' |
||
| 748 | glTranslate/glRotate/glScale |
||
| 749 | <P> |
||
| 750 | <DD><DL> |
||
| 751 | </DL> |
||
| 752 | </DD> |
||
| 753 | <DD><DL> |
||
| 754 | <DT><B>Parameters:</B><DD><CODE>x</CODE> - <DD><CODE>y</CODE> - |
||
| 755 | <DT><B>Returns:</B><DD>this matrix for chaining</DL> |
||
| 756 | </DD> |
||
| 757 | </DL> |
||
| 758 | <HR> |
||
| 759 | |||
| 760 | <A NAME="rotate(float)"><!-- --></A><H3> |
||
| 761 | rotate</H3> |
||
| 762 | <PRE> |
||
| 763 | public <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A> <B>rotate</B>(float angle)</PRE> |
||
| 764 | <DL> |
||
| 765 | <DD>Postmultiplies this matrix with a (counter-clockwise) rotation matrix. Postmultiplication is also used by OpenGL ES' |
||
| 766 | glTranslate/glRotate/glScale |
||
| 767 | <P> |
||
| 768 | <DD><DL> |
||
| 769 | </DL> |
||
| 770 | </DD> |
||
| 771 | <DD><DL> |
||
| 772 | <DT><B>Parameters:</B><DD><CODE>angle</CODE> - the angle in degrees |
||
| 773 | <DT><B>Returns:</B><DD>this matrix for chaining</DL> |
||
| 774 | </DD> |
||
| 775 | </DL> |
||
| 776 | <HR> |
||
| 777 | |||
| 778 | <A NAME="scale(float, float)"><!-- --></A><H3> |
||
| 779 | scale</H3> |
||
| 780 | <PRE> |
||
| 781 | public <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A> <B>scale</B>(float scaleX, |
||
| 782 | float scaleY)</PRE> |
||
| 783 | <DL> |
||
| 784 | <DD>Postmultiplies this matrix with a scale matrix. Postmultiplication is also used by OpenGL ES' glTranslate/glRotate/glScale. |
||
| 785 | <P> |
||
| 786 | <DD><DL> |
||
| 787 | </DL> |
||
| 788 | </DD> |
||
| 789 | <DD><DL> |
||
| 790 | <DT><B>Parameters:</B><DD><CODE>scaleX</CODE> - <DD><CODE>scaleY</CODE> - |
||
| 791 | <DT><B>Returns:</B><DD>this matrix for chaining</DL> |
||
| 792 | </DD> |
||
| 793 | </DL> |
||
| 794 | <HR> |
||
| 795 | |||
| 796 | <A NAME="getValues()"><!-- --></A><H3> |
||
| 797 | getValues</H3> |
||
| 798 | <PRE> |
||
| 799 | public float[] <B>getValues</B>()</PRE> |
||
| 800 | <DL> |
||
| 801 | <DD><DL> |
||
| 802 | </DL> |
||
| 803 | </DD> |
||
| 804 | <DD><DL> |
||
| 805 | </DL> |
||
| 806 | </DD> |
||
| 807 | </DL> |
||
| 808 | <HR> |
||
| 809 | |||
| 810 | <A NAME="scl(com.badlogic.gdx.math.Vector3)"><!-- --></A><H3> |
||
| 811 | scl</H3> |
||
| 812 | <PRE> |
||
| 813 | public <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A> <B>scl</B>(<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A> scale)</PRE> |
||
| 814 | <DL> |
||
| 815 | <DD><DL> |
||
| 816 | </DL> |
||
| 817 | </DD> |
||
| 818 | <DD><DL> |
||
| 819 | </DL> |
||
| 820 | </DD> |
||
| 821 | </DL> |
||
| 822 | <HR> |
||
| 823 | |||
| 824 | <A NAME="scl(float)"><!-- --></A><H3> |
||
| 825 | scl</H3> |
||
| 826 | <PRE> |
||
| 827 | public <A HREF="../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3</A> <B>scl</B>(float scale)</PRE> |
||
| 828 | <DL> |
||
| 829 | <DD><DL> |
||
| 830 | </DL> |
||
| 831 | </DD> |
||
| 832 | <DD><DL> |
||
| 833 | </DL> |
||
| 834 | </DD> |
||
| 835 | </DL> |
||
| 836 | <!-- ========= END OF CLASS DATA ========= --> |
||
| 837 | <HR> |
||
| 838 | |||
| 839 | |||
| 840 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
||
| 841 | <A NAME="navbar_bottom"><!-- --></A> |
||
| 842 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
||
| 843 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
| 844 | <TR> |
||
| 845 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
| 846 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
||
| 847 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
| 848 | <TR ALIGN="center" VALIGN="top"> |
||
| 849 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
| 850 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
| 851 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
| 852 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Matrix3.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
||
| 853 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
| 854 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
| 855 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
| 856 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
| 857 | </TR> |
||
| 858 | </TABLE> |
||
| 859 | </TD> |
||
| 860 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
| 861 | libgdx API</EM> |
||
| 862 | </TD> |
||
| 863 | </TR> |
||
| 864 | |||
| 865 | <TR> |
||
| 866 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 867 | <A HREF="../../../../com/badlogic/gdx/math/MathUtils.html" title="class in com.badlogic.gdx.math"><B>PREV CLASS</B></A> |
||
| 868 | <A HREF="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math"><B>NEXT CLASS</B></A></FONT></TD> |
||
| 869 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 870 | <A HREF="../../../../index.html?com/badlogic/gdx/math/Matrix3.html" target="_top"><B>FRAMES</B></A> |
||
| 871 | <A HREF="Matrix3.html" target="_top"><B>NO FRAMES</B></A> |
||
| 872 | <SCRIPT type="text/javascript"> |
||
| 873 | <!-- |
||
| 874 | if(window==top) { |
||
| 875 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
||
| 876 | } |
||
| 877 | //--> |
||
| 878 | </SCRIPT> |
||
| 879 | <NOSCRIPT> |
||
| 880 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
| 881 | </NOSCRIPT> |
||
| 882 | |||
| 883 | |||
| 884 | </FONT></TD> |
||
| 885 | </TR> |
||
| 886 | <TR> |
||
| 887 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 888 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
| 889 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 890 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
| 891 | </TR> |
||
| 892 | </TABLE> |
||
| 893 | <A NAME="skip-navbar_bottom"></A> |
||
| 894 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
||
| 895 | |||
| 896 | <HR> |
||
| 897 | |||
| 898 | <div style="font-size:9pt"><i> |
||
| 899 | Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) |
||
| 900 | </i></div> |
||
| 901 | |||
| 902 | </BODY> |
||
| 903 | </HTML> |