Solid.splitSelfIntersectingTriangles()

Detects self-intersecting triangle pairs and subdivides them conservatively in place while preserving face IDs.

Usage

javascript
solid.splitSelfIntersectingTriangles();

Pass a truthy argument for additional diagnostics when debugging complex meshes.