Skip to content

Commit 8139d48

Browse files
authored
Merge pull request phaserjs#2649 from boniatillo-com/boniatillo-com-patch-jsdoc-intersectsRectangle
jsdoc fix: complete the Phaser.Line.intersectsRectangle @method tag
2 parents 29a2f65 + a465a0e commit 8139d48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/geom/Line.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ Phaser.Line.intersects = function (a, b, asSegment, result) {
638638
*
639639
* The for the purposes of this function rectangles are considered 'solid'.
640640
*
641-
* @method intersectsRectangle
641+
* @method Phaser.Line.intersectsRectangle
642642
* @param {Phaser.Line} line - The line to check for intersection with.
643643
* @param {Phaser.Rectangle|object} rect - The rectangle, or rectangle-like object, to check for intersection with.
644644
* @return {boolean} True if the line intersects with the rectangle edges, or starts or ends within the rectangle.

0 commit comments

Comments
 (0)