multiply method

void multiply (Matrix2 arg)

Multiply this with arg and store it in this.

Implementation

void multiply(Matrix2 arg) {
  final double m00 = _m2storage[0];
  final double m01 = _m2storage[2];
  final double m10 = _m2storage[1];
  final double m11 = _m2storage[3];
  final Float32List argStorage = arg._m2storage;
  final double n00 = argStorage[0];
  final double n01 = argStorage[2];
  final double n10 = argStorage[1];
  final double n11 = argStorage[3];
  _m2storage[0] = (m00 * n00) + (m01 * n10);
  _m2storage[2] = (m00 * n01) + (m01 * n11);
  _m2storage[1] = (m10 * n00) + (m11 * n10);
  _m2storage[3] = (m10 * n01) + (m11 * n11);
}