|
@@ -262,7 +262,7 @@
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line36">line 36</a>
|
|
|
+ <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line38">line 38</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -298,7 +298,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
- <h4 class="name" id="compose"><span class="type-signature"></span>compose<span class="signature">()</span><span class="type-signature"></span></h4>
|
|
|
+ <h4 class="name" id="compose"><span class="type-signature"></span>compose<span class="signature">(px, py, sx, sy, ox, oy, a)</span><span class="type-signature"></span></h4>
|
|
|
|
|
|
|
|
|
|
|
@@ -317,6 +317,193 @@
|
|
|
|
|
|
|
|
|
|
|
|
+ <h5>Parameters:</h5>
|
|
|
+
|
|
|
+
|
|
|
+<table class="params">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <th>Name</th>
|
|
|
+
|
|
|
+
|
|
|
+ <th>Type</th>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <th class="last">Description</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+
|
|
|
+ <tbody>
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>px</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Position X</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>py</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Position Y</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>sx</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Scale X</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>sy</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Scale Y</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>ox</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Origin X (applied before scale and rotation)</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>oy</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Origin Y (applied before scale and rotation)</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>a</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Rotation angle (radians).</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+ </tbody>
|
|
|
+</table>
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -350,7 +537,7 @@
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line86">line 86</a>
|
|
|
+ <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line96">line 96</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -386,7 +573,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
- <h4 class="name" id="copy"><span class="type-signature"></span>copy<span class="signature">()</span><span class="type-signature"></span></h4>
|
|
|
+ <h4 class="name" id="copy"><span class="type-signature"></span>copy<span class="signature">(mat)</span><span class="type-signature"></span></h4>
|
|
|
|
|
|
|
|
|
|
|
@@ -405,6 +592,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
+ <h5>Parameters:</h5>
|
|
|
+
|
|
|
+
|
|
|
+<table class="params">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <th>Name</th>
|
|
|
+
|
|
|
+
|
|
|
+ <th>Type</th>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <th class="last">Description</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+
|
|
|
+ <tbody>
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>mat</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type"><a href="Matrix.html">Matrix</a></span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last"></td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+ </tbody>
|
|
|
+</table>
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -438,7 +674,7 @@
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line28">line 28</a>
|
|
|
+ <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line30">line 30</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -526,7 +762,7 @@
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line185">line 185</a>
|
|
|
+ <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line195">line 195</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -614,7 +850,7 @@
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line193">line 193</a>
|
|
|
+ <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line203">line 203</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -702,7 +938,7 @@
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line169">line 169</a>
|
|
|
+ <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line179">line 179</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -790,7 +1026,7 @@
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line161">line 161</a>
|
|
|
+ <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line171">line 171</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -878,7 +1114,7 @@
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line44">line 44</a>
|
|
|
+ <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line46">line 46</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -963,13 +1199,18 @@
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
+
|
|
|
+<span class="param-type"><a href="Matrix.html">Matrix</a></span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- <td class="description last">Matrix array.</td>
|
|
|
+ <td class="description last"></td>
|
|
|
</tr>
|
|
|
|
|
|
|
|
@@ -1010,7 +1251,7 @@
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line54">line 54</a>
|
|
|
+ <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line56">line 56</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1095,13 +1336,18 @@
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
+
|
|
|
+<span class="param-type"><a href="Matrix.html">Matrix</a></span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- <td class="description last">Matrix array to multiply.</td>
|
|
|
+ <td class="description last"></td>
|
|
|
</tr>
|
|
|
|
|
|
|
|
@@ -1142,7 +1388,7 @@
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line71">line 71</a>
|
|
|
+ <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line73">line 73</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1274,7 +1520,7 @@
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line122">line 122</a>
|
|
|
+ <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line132">line 132</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1362,7 +1608,7 @@
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line141">line 141</a>
|
|
|
+ <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line151">line 151</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1450,7 +1696,7 @@
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line214">line 214</a>
|
|
|
+ <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line224">line 224</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1538,7 +1784,7 @@
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line152">line 152</a>
|
|
|
+ <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line162">line 162</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1626,7 +1872,7 @@
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line177">line 177</a>
|
|
|
+ <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line187">line 187</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1714,7 +1960,7 @@
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line222">line 222</a>
|
|
|
+ <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line232">line 232</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1802,7 +2048,7 @@
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line203">line 203</a>
|
|
|
+ <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line213">line 213</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1890,7 +2136,7 @@
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line111">line 111</a>
|
|
|
+ <a href="math_Matrix.js.html">math/Matrix.js</a>, <a href="math_Matrix.js.html#line121">line 121</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1942,7 +2188,7 @@
|
|
|
<br class="clear">
|
|
|
|
|
|
<footer>
|
|
|
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:15:30 GMT+0100 (Western European Summer Time)
|
|
|
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Mon Jun 17 2019 11:18:24 GMT+0100 (Western European Summer Time)
|
|
|
</footer>
|
|
|
|
|
|
<script> prettyPrint(); </script>
|