Calculates the square of magnitude of given point.(Can be used for fast magnitude calculation of point)
name | type | description |
---|---|---|
point | Phaser.Geom.Point |
Returns square of the magnitude/length of given point. |
Returns square of the magnitude of given point.