operator - method

Vector2D operator -(
  1. Vector2D other
)

Implementation

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