inverted method

Vector2 inverted()

Returns the inverse of this vector.

Implementation

Vector2 inverted() => Vector2(-x, -y);