Checks if a point (as a pair of coordinates) is inside a Triangle's bounds.
name | type | description |
---|---|---|
triangle | Phaser.Geom.Triangle |
The Triangle to check. |
x | number |
The X coordinate of the point to check. |
y | number |
The Y coordinate of the point to check. |
true
if the point is inside the Triangle, otherwise false
.