Compute the intersection solid of one clashing pair.
positionsA / positionsB are flat world-space XYZ; indicesA / indicesB are flat triangle indices into their own operand.
positionsA
positionsB
indicesA
indicesB
const solid = clashIntersectionSolid(posA, idxA, posB, idxB);if (solid.isSolid) { draw(solid.positions, solid.indices, solid.volumeM3);} else { keepContactMarker(solid.degenerateReason); // e.g. "no-overlap"}solid.free(); Copy
const solid = clashIntersectionSolid(posA, idxA, posB, idxB);if (solid.isSolid) { draw(solid.positions, solid.indices, solid.volumeM3);} else { keepContactMarker(solid.degenerateReason); // e.g. "no-overlap"}solid.free();
Compute the intersection solid of one clashing pair.
positionsA/positionsBare flat world-space XYZ;indicesA/indicesBare flat triangle indices into their own operand.