Vector2Distance function

  1. @Deprecated('Use (v1 - v2).length instead')
double Vector2Distance(
  1. Vector2 v1,
  2. Vector2 v2
)

Implementation

@Deprecated('Use (v1 - v2).length instead')
double Vector2Distance(Vector2 v1, Vector2 v2) => (v1 - v2).length;