multiply method

void multiply(
  1. Matrix3 arg
)

Multiply this by arg.

Implementation

void multiply(Matrix3 arg) {
  final m00 = _m3storage[0];
  final m01 = _m3storage[3];
  final m02 = _m3storage[6];
  final m10 = _m3storage[1];
  final m11 = _m3storage[4];
  final m12 = _m3storage[7];
  final m20 = _m3storage[2];
  final m21 = _m3storage[5];
  final m22 = _m3storage[8];
  final argStorage = arg._m3storage;
  final n00 = argStorage[0];
  final n01 = argStorage[3];
  final n02 = argStorage[6];
  final n10 = argStorage[1];
  final n11 = argStorage[4];
  final n12 = argStorage[7];
  final n20 = argStorage[2];
  final n21 = argStorage[5];
  final n22 = argStorage[8];
  _m3storage[0] = (m00 * n00) + (m01 * n10) + (m02 * n20);
  _m3storage[3] = (m00 * n01) + (m01 * n11) + (m02 * n21);
  _m3storage[6] = (m00 * n02) + (m01 * n12) + (m02 * n22);
  _m3storage[1] = (m10 * n00) + (m11 * n10) + (m12 * n20);
  _m3storage[4] = (m10 * n01) + (m11 * n11) + (m12 * n21);
  _m3storage[7] = (m10 * n02) + (m11 * n12) + (m12 * n22);
  _m3storage[2] = (m20 * n00) + (m21 * n10) + (m22 * n20);
  _m3storage[5] = (m20 * n01) + (m21 * n11) + (m22 * n21);
  _m3storage[8] = (m20 * n02) + (m21 * n12) + (m22 * n22);
}