operator - method

Vector2 operator -(
  1. Vector2 other
)

Implementation

Vector2 operator -(Vector2 other) => Vector2(x - other.x, y - other.y);