equals method

bool equals(
  1. Matrix3 matrix
)

Implementation

bool equals(Matrix3 matrix) {
  var te = elements;
  var me = matrix.elements;

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

  return true;
}