IFClite TypeScript API
    Preparing search index...

    Function narrowPhase

    • For two meshes A and B, return every triangle pair whose triangles either strictly cross or are coplanar (and whose AABBs are within epsilon of each other).

      Coplanar pairs are emitted without further 2D-overlap testing — shared-face clustering (downstream) does that more robustly across a whole cluster of coplanar hits.

      Parameters

      Returns TrianglePair[]