addScaled method

void addScaled (Vector4 arg, double factor)

Add arg scaled by factor to this.

Implementation

void addScaled(Vector4 arg, double factor) {
  final Float64List argStorage = arg._v4storage;
  _v4storage[0] = _v4storage[0] + argStorage[0] * factor;
  _v4storage[1] = _v4storage[1] + argStorage[1] * factor;
  _v4storage[2] = _v4storage[2] + argStorage[2] * factor;
  _v4storage[3] = _v4storage[3] + argStorage[3] * factor;
}