applyMatrix4 method
void
applyMatrix4(
- Matrix4 arg
inherited
Multiplies this by a 4x3 subset of arg
. Expects arg
to be an affine
transformation matrix.
Implementation
void applyMatrix4(Matrix4 arg) {
final argStorage = arg.storage;
final v0 = _v3storage[0];
final v1 = _v3storage[1];
final v2 = _v3storage[2];
_v3storage[0] = argStorage[0] * v0 +
argStorage[4] * v1 +
argStorage[8] * v2 +
argStorage[12];
_v3storage[1] = argStorage[1] * v0 +
argStorage[5] * v1 +
argStorage[9] * v2 +
argStorage[13];
_v3storage[2] = argStorage[2] * v0 +
argStorage[6] * v1 +
argStorage[10] * v2 +
argStorage[14];
}