equals method

dynamic equals(
  1. dynamic obb
)

Implementation

equals(obb) {
  return obb.center.equals(center) && obb.halfSize.equals(halfSize) && obb.rotation.equals(rotation);
}