Calculate the distance between this Vector and the given Vector.
name | type | description |
---|---|---|
src | Phaser.Types.Math.Vector2Like |
The Vector to calculate the distance to. |
The distance from this Vector to the given Vector.