sub method

void sub(
  1. Vector2 arg
)

Subtract arg from this.

Implementation

void sub(Vector2 arg) {
  final argStorage = arg._v2storage;
  _v2storage[0] = _v2storage[0] - argStorage[0];
  _v2storage[1] = _v2storage[1] - argStorage[1];
}