mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 14:38:30 +00:00
Merge pull request #2649 from boniatillo-com/boniatillo-com-patch-jsdoc-intersectsRectangle
jsdoc fix: complete the Phaser.Line.intersectsRectangle @method tag
This commit is contained in:
commit
8139d484a3
1 changed files with 1 additions and 1 deletions
|
@ -638,7 +638,7 @@ Phaser.Line.intersects = function (a, b, asSegment, result) {
|
|||
*
|
||||
* The for the purposes of this function rectangles are considered 'solid'.
|
||||
*
|
||||
* @method intersectsRectangle
|
||||
* @method Phaser.Line.intersectsRectangle
|
||||
* @param {Phaser.Line} line - The line to check for intersection with.
|
||||
* @param {Phaser.Rectangle|object} rect - The rectangle, or rectangle-like object, to check for intersection with.
|
||||
* @return {boolean} True if the line intersects with the rectangle edges, or starts or ends within the rectangle.
|
||||
|
|
Loading…
Add table
Reference in a new issue