transform2 method

Vector2 transform2 (Vector2 arg)

Transforms arg with this.

Implementation

Vector2 transform2(Vector2 arg) {
  final Float32List argStorage = arg._v2storage;
  final double x_ = (storage[0] * arg.storage[0]) +
      (storage[3] * arg.storage[1]) +
      _m3storage[6];
  final double y_ = (storage[1] * arg.storage[0]) +
      (storage[4] * arg.storage[1]) +
      _m3storage[7];
  argStorage[0] = x_;
  argStorage[1] = y_;
  return arg;
}