Skip to content

Commit 5a3a9e4

Browse files
dirkschulzesvgeesus
authored andcommitted
Forgot to add change to rotateFromVectorBy attribute table.
1 parent 4d9f9f3 commit 5a3a9e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

matrix/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -623,9 +623,9 @@ <h3>Mutable transformation methods</h3>
623623
<dd>
624624
<dl class='parameters'>
625625
<dt>unrestricted double x</dt>
626-
<dd>The x coordinate of the vector (x,y). Must not be zero.</dd>
626+
<dd>The x coordinate of the vector (x,y)<sup>T</sup>.</dd>
627627
<dt>unrestricted double y</dt>
628-
<dd>The y coordinate of the vector (x,y). Must not be zero.</dd>
628+
<dd>The y coordinate of the vector (x,y)<sup>T</sup>.</dd>
629629
</dl>
630630
<p>Post-multiplies a rotation transformation on the current matrix. The rotation angle is determined by the angle between the vector (1,0)<sup>T</sup> and (x,y)<sup>T</sup> in the clockwise direction. If <code>x</code> and <code>y</code> should both be zero, the angle is specified as zero.</p>
631631
<p>The 2D rotation matrix is <a href="http://www.w3.org/TR/2012/WD-css3-transforms-20120911/#RotateDefined">described</a> in CSS Transforms where <code>alpha</code> is the angle between the vector (1,0)<sup>T</sup> and (x,y)<sup>T</sup> in degrees [[!CSS3-TRANSFORMS]].</p>

0 commit comments

Comments
 (0)