applyMatrix4 method

void applyMatrix4 (Matrix4 arg)

Multiplies this by arg.

Implementation

void applyMatrix4(Matrix4 arg) {
  final double v1 = _v4storage[0];
  final double v2 = _v4storage[1];
  final double v3 = _v4storage[2];
  final double v4 = _v4storage[3];
  final Float64List argStorage = arg.storage;
  _v4storage[0] = argStorage[0] * v1 +
      argStorage[4] * v2 +
      argStorage[8] * v3 +
      argStorage[12] * v4;
  _v4storage[1] = argStorage[1] * v1 +
      argStorage[5] * v2 +
      argStorage[9] * v3 +
      argStorage[13] * v4;
  _v4storage[2] = argStorage[2] * v1 +
      argStorage[6] * v2 +
      argStorage[10] * v3 +
      argStorage[14] * v4;
  _v4storage[3] = argStorage[3] * v1 +
      argStorage[7] * v2 +
      argStorage[11] * v3 +
      argStorage[15] * v4;
}