Calculate the normal of the given line.
The normal of a line is a vector that points perpendicular from it.
name | type | arguments | description |
---|---|---|---|
line | Phaser.Geom.Line |
The line to calculate the normal of. |
|
out | object | Phaser.Geom.Point | <optional> |
An optional point object to store the normal in. |
The normal of the Line.