Class OrientedBoundingRect

Constructors

Methods

  • If intersect with another OBB

    Parameters

    • other: OrientedBoundingRect

      Bounding rect to be intersected with

    • Optional mtv: PointLike

      Calculated . If it's not overlapped. it means needs to move given rect with Maximum Translation Vector to be overlapped. Else it means needs to move given rect with Minimum Translation Vector to be not overlapped.

    Returns boolean