multiply method

void multiply (Matrix4 arg)

Multiply this by arg.

Implementation

void multiply(Matrix4 arg) {
  final double m00 = _m4storage[0];
  final double m01 = _m4storage[4];
  final double m02 = _m4storage[8];
  final double m03 = _m4storage[12];
  final double m10 = _m4storage[1];
  final double m11 = _m4storage[5];
  final double m12 = _m4storage[9];
  final double m13 = _m4storage[13];
  final double m20 = _m4storage[2];
  final double m21 = _m4storage[6];
  final double m22 = _m4storage[10];
  final double m23 = _m4storage[14];
  final double m30 = _m4storage[3];
  final double m31 = _m4storage[7];
  final double m32 = _m4storage[11];
  final double m33 = _m4storage[15];
  final Float32List argStorage = arg._m4storage;
  final double n00 = argStorage[0];
  final double n01 = argStorage[4];
  final double n02 = argStorage[8];
  final double n03 = argStorage[12];
  final double n10 = argStorage[1];
  final double n11 = argStorage[5];
  final double n12 = argStorage[9];
  final double n13 = argStorage[13];
  final double n20 = argStorage[2];
  final double n21 = argStorage[6];
  final double n22 = argStorage[10];
  final double n23 = argStorage[14];
  final double n30 = argStorage[3];
  final double n31 = argStorage[7];
  final double n32 = argStorage[11];
  final double n33 = argStorage[15];
  _m4storage[0] = (m00 * n00) + (m01 * n10) + (m02 * n20) + (m03 * n30);
  _m4storage[4] = (m00 * n01) + (m01 * n11) + (m02 * n21) + (m03 * n31);
  _m4storage[8] = (m00 * n02) + (m01 * n12) + (m02 * n22) + (m03 * n32);
  _m4storage[12] = (m00 * n03) + (m01 * n13) + (m02 * n23) + (m03 * n33);
  _m4storage[1] = (m10 * n00) + (m11 * n10) + (m12 * n20) + (m13 * n30);
  _m4storage[5] = (m10 * n01) + (m11 * n11) + (m12 * n21) + (m13 * n31);
  _m4storage[9] = (m10 * n02) + (m11 * n12) + (m12 * n22) + (m13 * n32);
  _m4storage[13] = (m10 * n03) + (m11 * n13) + (m12 * n23) + (m13 * n33);
  _m4storage[2] = (m20 * n00) + (m21 * n10) + (m22 * n20) + (m23 * n30);
  _m4storage[6] = (m20 * n01) + (m21 * n11) + (m22 * n21) + (m23 * n31);
  _m4storage[10] = (m20 * n02) + (m21 * n12) + (m22 * n22) + (m23 * n32);
  _m4storage[14] = (m20 * n03) + (m21 * n13) + (m22 * n23) + (m23 * n33);
  _m4storage[3] = (m30 * n00) + (m31 * n10) + (m32 * n20) + (m33 * n30);
  _m4storage[7] = (m30 * n01) + (m31 * n11) + (m32 * n21) + (m33 * n31);
  _m4storage[11] = (m30 * n02) + (m31 * n12) + (m32 * n22) + (m33 * n32);
  _m4storage[15] = (m30 * n03) + (m31 * n13) + (m32 * n23) + (m33 * n33);
}