You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li>Let <em>result</em> be the resulting matrix initialized to the values of the current matrix.</li>
853
-
<li>Perform a <a method>rotateSelf()</a> transformation on <em>result</em> with the arguments <var>angle</var>, <var>originX</var>, <var>originY</var>.</li>
853
+
<li>Perform a <a method>rotateSelf()</a> transformation on <em>result</em> with the arguments <var>rotX</var>, <var>rotY</var>, <var>rotZ</var>.</li>
854
854
<li>Return <em>result</em>.</li>
855
855
</ol>
856
856
<p>The current matrix is not modified.</p>
@@ -1053,12 +1053,23 @@ Note: Authors who use chained method calls are recommended to use mutable transf
<li>Apply a <a method>translateSelf(<var>originX</var>, <var>originY</var>)</a> transformation to the current matrix.</li>
1060
-
<li>Post-multiply a rotation transformation on the current matrix with the specified rotation <em>angle</em> in degrees. The 2D rotation matrix is <a href="http://www.w3.org/TR/2012/WD-css3-transforms-20120911/#RotateDefined">described</a> in CSS Transforms with <em>alpha</em> = <em>angle</em> in degrees. [[!CSS3-TRANSFORMS]].</li>
1061
-
<li>Apply a <a method>translateSelf(-<var>originX</var>, -<var>originY</var>)</a> transformation to the current matrix.</li>
1059
+
<li>If <var>rotY</var> and <var>rotZ</var> are both missing, set <var>rotZ</var> to the value
1060
+
of <var>rotX</var> and set <var>rotX</var> and <var>rotY</var> to zero.</li>
1061
+
1062
+
<li>If <var>rotY</var> is still missing, set <var>rotY</var> to zero.</li>
1063
+
1064
+
<li>If <var>rotZ</var> is still missing, set <var>rotZ</var> to zero.</li>
1065
+
1066
+
<li>If <var>rotX</var> or <var>rotY</var> are non-zero, set <a>is2D</a> of the current matrix
1067
+
to <code>false</code>.</li>
1068
+
1069
+
<li>Post-multiply the current matrix by each of its 3 rotation matrices about the major axes,
1070
+
first Z using <var>rotZ</var>, then Y using <var>rotY</var>, then X using
0 commit comments