Calculate the magnitude of the point, which equivalent to the length of the line from the origin to this point.
name | type | description |
---|---|---|
point | Phaser.Geom.Point |
The point to calculate the magnitude for |
The resulting magnitude