equals method

dynamic equals(
  1. dynamic obb
)

Implementation

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