Get the midpoint of the given line.
name | type | arguments | description |
---|---|---|---|
line | Phaser.Geom.Line |
The line to get the midpoint of. |
|
out | object | Phaser.Geom.Point | <optional> |
An optional point object to store the midpoint in. |
The midpoint of the Line.