transposeMultiply method
void
transposeMultiply
(Matrix3 arg)
Implementation
void transposeMultiply(Matrix3 arg) {
final double m00 = _m3storage[0];
final double m01 = _m3storage[1];
final double m02 = _m3storage[2];
final double m10 = _m3storage[3];
final double m11 = _m3storage[4];
final double m12 = _m3storage[5];
final double m20 = _m3storage[6];
final double m21 = _m3storage[7];
final double m22 = _m3storage[8];
final Float32List argStorage = arg._m3storage;
_m3storage[0] =
(m00 * argStorage[0]) + (m01 * arg.storage[1]) + (m02 * arg.storage[2]);
_m3storage[3] =
(m00 * argStorage[3]) + (m01 * arg.storage[4]) + (m02 * arg.storage[5]);
_m3storage[6] =
(m00 * argStorage[6]) + (m01 * arg.storage[7]) + (m02 * arg.storage[8]);
_m3storage[1] =
(m10 * argStorage[0]) + (m11 * arg.storage[1]) + (m12 * arg.storage[2]);
_m3storage[4] =
(m10 * argStorage[3]) + (m11 * arg.storage[4]) + (m12 * arg.storage[5]);
_m3storage[7] =
(m10 * argStorage[6]) + (m11 * arg.storage[7]) + (m12 * arg.storage[8]);
_m3storage[2] =
(m20 * argStorage[0]) + (m21 * arg.storage[1]) + (m22 * arg.storage[2]);
_m3storage[5] =
(m20 * argStorage[3]) + (m21 * arg.storage[4]) + (m22 * arg.storage[5]);
_m3storage[8] =
(m20 * argStorage[6]) + (m21 * arg.storage[7]) + (m22 * arg.storage[8]);
}