distance method

double distance(
  1. Vector2 other
)
inherited

Distance from this to other.

Implementation

double distance(Vector2 other) => sqrt(distance2(other));