Skip to content

Commit 06bad68

Browse files
committed
Improved JSDocs
1 parent 57a022d commit 06bad68

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/math/angle/BetweenPoints.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* @function Phaser.Math.Angle.BetweenPoints
1313
* @since 3.0.0
1414
*
15-
* @param {(Phaser.Geom.Point|object)} point1 - The first point.
16-
* @param {(Phaser.Geom.Point|object)} point2 - The second point.
15+
* @param {Phaser.Types.Math.Vector2Like} point1 - The first point.
16+
* @param {Phaser.Types.Math.Vector2Like} point2 - The second point.
1717
*
1818
* @return {number} The angle in radians.
1919
*/

src/math/angle/BetweenPointsY.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
* @function Phaser.Math.Angle.BetweenPointsY
1414
* @since 3.0.0
1515
*
16-
* @param {(Phaser.Geom.Point|object)} point1 - The first point.
17-
* @param {(Phaser.Geom.Point|object)} point2 - The second point.
16+
* @param {Phaser.Types.Math.Vector2Like} point1 - The first point.
17+
* @param {Phaser.Types.Math.Vector2Like} point2 - The second point.
1818
*
1919
* @return {number} The angle in radians.
2020
*/

0 commit comments

Comments
 (0)