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
<divclass="todo">Clarify "clockwise". Describe in terms of right-hand rule?</div>
1684
1683
<dd>
1685
-
specifies a clockwise <ahref="#Rotate3dDefined">3D rotation</a> by the angle specified in last
1686
-
parameter about the [x,y,z] direction vector described by the first 3
1687
-
parameters. If the direction vector is not of unit length, it will be
1688
-
normalized. A direction vector that cannot be normalized, such as [0,0,0], will cause the rotation to not be applied.
1684
+
specifies a <ahref="#Rotate3dDefined">3D rotation</a> by the
1685
+
angle specified in last parameter about the [x,y,z] direction
1686
+
vector described by the first three parameters. If the
1687
+
direction vector is not of unit length, it will be
1688
+
normalized. A direction vector that cannot be normalized,
1689
+
such as [0,0,0], will cause the rotation to not be applied.
1690
+
Note: The rotation is clockwise as one looks from the end of
1691
+
the vector toward the origin.
1689
1692
</dd>
1690
1693
<dt>
1691
1694
<codeclass="css">rotateX(<angle>)</code>
1692
1695
</dt>
1693
1696
<dd>
1694
-
specifies a clockwise <ahref="#RotateXDefined">3D rotation</a> by the given angle about the X axis.
1697
+
same as <codeclass="css">rotate3d(1, 0, 0, <angle>)</code>.
1695
1698
</dd>
1696
1699
<dt>
1697
1700
<codeclass="css">rotateY(<angle>)</code>
1698
1701
</dt>
1699
1702
<dd>
1700
-
specifies a clockwise <ahref="#RotateYDefined">3D rotation</a> by the given angle about the Y axis.
1703
+
same as <codeclass="css">rotate3d(0, 1, 0, <angle>)</code>.
1701
1704
</dd>
1702
1705
<dt>
1703
1706
<codeclass="css">rotateZ(<angle>)</code>
1704
1707
</dt>
1705
1708
<dd>
1706
-
specifies a clockwise <ahref="#RotateZDefined">3D rotation</a> by the given angle about the Z axis. This is a synonym for <codeclass="css">rotate(<angle>)</code>.
1709
+
same as <codeclass="css">rotate3d(0, 0, 1, <angle>)</code>,
1710
+
which is also the same as <codeclass="css">rotate(<angle>)</code>.
0 commit comments