Inverts a Point's coordinates.
name | type | arguments | description |
---|---|---|---|
point | Phaser.Geom.Point |
The Point to invert. |
|
out | Phaser.Geom.Point | <optional> |
The Point to return the inverted coordinates in. |
The modified out
Point, or a new Point if none was provided.