applyMatrix3 method

void applyMatrix3(
  1. Matrix3 arg
)

Implementation

void applyMatrix3(Matrix3 arg) {
  final argStorage = arg.storage;
  final v0 = storage[0];
  final v1 = storage[1];
  final v2 = storage[2];
  storage[0] =
      argStorage[0] * v0 + argStorage[3] * v1 + argStorage[6] * v2;
  storage[1] =
      argStorage[1] * v0 + argStorage[4] * v1 + argStorage[7] * v2;
  storage[2] =
      argStorage[2] * v0 + argStorage[5] * v1 + argStorage[8] * v2;
}