Calculate the distance between two points.
name | type | description |
---|---|---|
a | Phaser.Types.Math.Vector2Like |
The first point. |
b | Phaser.Types.Math.Vector2Like |
The second point. |
The distance between the points.