The interesting part of the collision detection code is here: https://github.com/dakom/not-a-game/blob/main/src/collision/...
The interesting part of the collision detection code is here: https://github.com/dakom/not-a-game/blob/main/src/collision/...