addScaled method

void addScaled (Vector2 arg, double factor)

Add arg scaled by factor to this.

Implementation

void addScaled(Vector2 arg, double factor) {
  final Float64List argStorage = arg._v2storage;
  _v2storage[0] = _v2storage[0] + argStorage[0] * factor;
  _v2storage[1] = _v2storage[1] + argStorage[1] * factor;
}