Returns true if two triangles have the same coordinates.
name | type | description |
---|---|---|
triangle | Phaser.Geom.Triangle |
The first triangle to check. |
toCompare | Phaser.Geom.Triangle |
The second triangle to check. |
true
if the two given triangles have the exact same coordinates, otherwise false
.