equals method

bool equals(
  1. Matrix4 m
)

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

Implementation

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

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

	return true;
}