math docs
    Preparing search index...

    Function intersectsBox3

    • Tests whether an OBB intersects with an AABB.

      Specialised form of intersectsOBB3: the AABB's axes are the world axes, so the axis dot-product matrix R is just the OBB's rotation (no 9 dot-products), and the AABB's centre/half-extents come straight from its min/max. The near-parallel edge skip works identically — here it fires when an OBB axis aligns with a world axis.

      Parameters

      Returns boolean

      true if they intersect