operator - method

Vector2 operator - (Vector2 other)

Subtract two vectors.

Implementation

Vector2 operator -(Vector2 other) => clone()..sub(other);