Skip to content

Commit

Permalink
Fixed incorrect note about radians/degrees in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
lannymcnie committed Aug 17, 2018
1 parent d7db6e5 commit c7b6035
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/easeljs/geom/Matrix2D.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ this.createjs = this.createjs||{};
/**
* Applies a clockwise rotation transformation to the matrix.
* @method rotate
* @param {Number} angle The angle to rotate by, in degrees. To use a value in radians, multiply it by `180/Math.PI`.
* @param {Number} angle The angle to rotate by, in degrees. To use a value in radians, multiply it by `Math.PI/180`.
* @return {Matrix2D} This matrix. Useful for chaining method calls.
**/
p.rotate = function(angle) {
Expand All @@ -353,7 +353,7 @@ this.createjs = this.createjs||{};
/**
* Applies a skew transformation to the matrix.
* @method skew
* @param {Number} skewX The amount to skew horizontally in degrees. To use a value in radians, multiply it by `180/Math.PI`.
* @param {Number} skewX The amount to skew horizontally in degrees. To use a value in radians, multiply it by `Math.PI/180`.
* @param {Number} skewY The amount to skew vertically in degrees.
* @return {Matrix2D} This matrix. Useful for chaining method calls.
*/
Expand Down

0 comments on commit c7b6035

Please sign in to comment.