mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
Merge pull request #1804 from asyncanup/patch-1
Fixed spelling error in 'rotation'
This commit is contained in:
commit
86f155da80
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