distanceTo method

double distanceTo (Vector2 arg)

Distance from this to arg

Implementation

double distanceTo(Vector2 arg) => math.sqrt(distanceToSquared(arg));