Skip to content

Commit ac92e3c

Browse files
committed
Fixed spelling error in 'rotation'
1 parent 5a91f85 commit ac92e3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/Utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Phaser.Utils = {
120120
*
121121
* @method Phaser.Utils.rotateArray
122122
* @param {Array<any[]>} matrix - The array to rotate; this matrix _may_ be altered.
123-
* @param {number|string} direction - The amount to rotate: the roation in degrees (90, -90, 270, -270, 180) or a string command ('rotateLeft', 'rotateRight' or 'rotate180').
123+
* @param {number|string} direction - The amount to rotate: the rotation in degrees (90, -90, 270, -270, 180) or a string command ('rotateLeft', 'rotateRight' or 'rotate180').
124124
* @return {Array<any[]>} The rotated matrix. The source matrix should be discarded for the returned matrix.
125125
* @deprecated 2.2.0 - Use Phaser.ArrayUtils.rotateMatrix
126126
*/

0 commit comments

Comments
 (0)