equals method

bool equals(
  1. Matrix4 matrix
)

Implementation

bool equals(Matrix4 matrix) {
  final te = storage;
  final me = matrix.storage;

  for (int i = 0; i < 16; i++) {
    if (te[i] != me[i]) return false;
  }

  return true;
}