We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31ed7f7 commit 2fbb29fCopy full SHA for 2fbb29f
1 file changed
src/math/Rotate.js
@@ -5,15 +5,15 @@
5
*/
6
7
/**
8
- * [description]
+ * Rotate a given point by a given angle around the origin (0, 0), in an anti-clockwise direction.
9
*
10
* @function Phaser.Math.Rotate
11
* @since 3.0.0
12
13
- * @param {(Phaser.Geom.Point|object)} point - [description]
14
- * @param {number} angle - [description]
+ * @param {(Phaser.Geom.Point|object)} point - The point to be rotated.
+ * @param {number} angle - The angle to be rotated by in an anticlockwise direction.
15
16
- * @return {Phaser.Geom.Point} [description]
+ * @return {Phaser.Geom.Point} The given point, rotated by the given angle in an anticlockwise direction.
17
18
var Rotate = function (point, angle)
19
{
0 commit comments