equals method

bool equals(
  1. Matrix3 m
)

Returns true if the given matrix is deep equal with this matrix.

Implementation

bool equals(Matrix3 m ) {
	final e = elements;
	final me = m.elements;

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

	return true;
}