mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 23:20:59 +00:00
Fixed spelling error in 'rotation'
This commit is contained in:
parent
5a91f85b1f
commit
ac92e3c58e
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ Phaser.Utils = {
|
|||
*
|
||||
* @method Phaser.Utils.rotateArray
|
||||
* @param {Array<any[]>} matrix - The array to rotate; this matrix _may_ be altered.
|
||||
* @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').
|
||||
* @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').
|
||||
* @return {Array<any[]>} The rotated matrix. The source matrix should be discarded for the returned matrix.
|
||||
* @deprecated 2.2.0 - Use Phaser.ArrayUtils.rotateMatrix
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue