Skip to content

Commit 4d19047

Browse files
committed
Fixed Vector2Like types
1 parent bded374 commit 4d19047

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/gameobjects/rope/Rope.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ var Rope = new Class({
9797
* Should you need to change the _size_ of this array, then you should always use the `setPoints` method.
9898
*
9999
* @name Phaser.GameObjects.Rope#points
100-
* @type {Phaser.Math.Types.Vector2Like[]}
100+
* @type {Phaser.Types.Math.Vector2Like[]}
101101
* @since 3.23.0
102102
*/
103103
this.points = points;

src/math/RotateAround.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
* @function Phaser.Math.RotateAround
1313
* @since 3.0.0
1414
*
15-
* @generic {Phaser.Math.Vector2Like} T - [point,$return]
15+
* @generic {Phaser.Types.Math.Vector2Like} T - [point,$return]
1616
*
1717
* @param {(Phaser.Geom.Point|object)} point - The point to be rotated.
1818
* @param {number} x - The horizontal coordinate to rotate around.
1919
* @param {number} y - The vertical coordinate to rotate around.
2020
* @param {number} angle - The angle of rotation in radians.
2121
*
22-
* @return {Phaser.Math.Vector2Like} The given point.
22+
* @return {Phaser.Types.Math.Vector2Like} The given point.
2323
*/
2424
var RotateAround = function (point, x, y, angle)
2525
{

src/math/RotateAroundDistance.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
* @function Phaser.Math.RotateAroundDistance
1313
* @since 3.0.0
1414
*
15-
* @generic {Phaser.Math.Vector2Like} T - [point,$return]
15+
* @generic {Phaser.Types.Math.Vector2Like} T - [point,$return]
1616
*
1717
* @param {(Phaser.Geom.Point|object)} point - The point to be rotated.
1818
* @param {number} x - The horizontal coordinate to rotate around.
1919
* @param {number} y - The vertical coordinate to rotate around.
2020
* @param {number} angle - The angle of rotation in radians.
2121
* @param {number} distance - The distance from (x, y) to place the point at.
2222
*
23-
* @return {Phaser.Math.Vector2Like} The given point.
23+
* @return {Phaser.Types.Math.Vector2Like} The given point.
2424
*/
2525
var RotateAroundDistance = function (point, x, y, angle, distance)
2626
{

0 commit comments

Comments
 (0)