Skip to content

Commit c7b6035

Browse files
committed
Fixed incorrect note about radians/degrees in docs.
1 parent d7db6e5 commit c7b6035

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/easeljs/geom/Matrix2D.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ this.createjs = this.createjs||{};
332332
/**
333333
* Applies a clockwise rotation transformation to the matrix.
334334
* @method rotate
335-
* @param {Number} angle The angle to rotate by, in degrees. To use a value in radians, multiply it by `180/Math.PI`.
335+
* @param {Number} angle The angle to rotate by, in degrees. To use a value in radians, multiply it by `Math.PI/180`.
336336
* @return {Matrix2D} This matrix. Useful for chaining method calls.
337337
**/
338338
p.rotate = function(angle) {
@@ -353,7 +353,7 @@ this.createjs = this.createjs||{};
353353
/**
354354
* Applies a skew transformation to the matrix.
355355
* @method skew
356-
* @param {Number} skewX The amount to skew horizontally in degrees. To use a value in radians, multiply it by `180/Math.PI`.
356+
* @param {Number} skewX The amount to skew horizontally in degrees. To use a value in radians, multiply it by `Math.PI/180`.
357357
* @param {Number} skewY The amount to skew vertically in degrees.
358358
* @return {Matrix2D} This matrix. Useful for chaining method calls.
359359
*/

0 commit comments

Comments
 (0)