applyMatrix4 method

void applyMatrix4 (Matrix4 arg)

Multiplies this by a 4x3 subset of arg. Expects arg to be an affine transformation matrix.

Implementation

void applyMatrix4(Matrix4 arg) {
  final Float32List argStorage = arg.storage;
  final double v0 = _v3storage[0];
  final double v1 = _v3storage[1];
  final double 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];
}