equals method

bool equals(
  1. OBB obb
)

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

Implementation

bool equals(OBB obb ) {
	return obb.center.equals( center ) &&
			obb.halfSizes.equals( halfSizes ) &&
			obb.rotation.equals( rotation );
}