add method

void add(
  1. Vector2 arg
)

Add arg to this.

Implementation

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