From 822e1401cfb00ce4bc5c30b2a07b39ec3f46819b Mon Sep 17 00:00:00 2001 From: Trissolo <00tristano00@gmail.com> Date: Wed, 26 Oct 2022 08:58:55 +0200 Subject: [PATCH] Replace the typedef of the last parameter with the more appropriate 'Phaser.Math.Vector2Like' --- src/geom/intersects/LineToLine.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/geom/intersects/LineToLine.js b/src/geom/intersects/LineToLine.js index e7fb5c8c6..7957cf626 100644 --- a/src/geom/intersects/LineToLine.js +++ b/src/geom/intersects/LineToLine.js @@ -15,7 +15,7 @@ * * @param {Phaser.Geom.Line} line1 - The first Line to check. * @param {Phaser.Geom.Line} line2 - The second Line to check. - * @param {(object|Phaser.Geom.Point|Phaser.Math.Vector2)} [out] - An optional Point-like object in which to store the coordinates of intersection, if needed. + * @param {Phaser.Types.Math.Vector2Like} [out] - An optional point-like object in which to store the coordinates of intersection, if needed. * * @return {boolean} `true` if the two Lines intersect, and the `out` object will be populated, if given. Otherwise, `false`. */