I wanted to actually understand collision detection β not "call the library function," but understand it well enough to write it myself. So I built a small 2D physics engine in C++ and SDL2, no external physics library, and picked the Separating Axis Theorem (SAT) as the core algorithm. Here's ...
Source: [Dev.to](https://dev.to/whomi928/building-a-2d-physics-engine-from-scratch-sat-collision-detection-in-c-and-sdl2-5dd)