Fixed spelling error in 'rotation'

This commit is contained in:
Anup Bishnoi 2015-05-19 22:48:03 -04:00
parent 5a91f85b1f
commit ac92e3c58e

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