How to Check If Two Triangles Intersect: Geometric Algorithms Explained

I ve looked at a lot of triangle-triangle intersection code across different projects. And every time, one thing stood out: there’s no single implementation that covers all the edge cases. That’s not surprising. The requirements vary wildly depending on the use case fast-and-loose for games, watertight for CAD, approximated for physics engines. But in this [ ]