invert method

void invert()

Inverts the vector.

Implementation

void invert() {
  x *= -1;
  y *= -1;
}