Merge pull request #1804 from asyncanup/patch-1

Fixed spelling error in 'rotation'
This commit is contained in:
Richard Davey 2015-05-30 20:02:09 +01:00
commit 86f155da80

View file

@ -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
*/