All examples By author By category About

w8r

Separated axis theorem

Rotated rectangle intersection

Using Separated axis theorem; For spatial indexing I used mapbox/grid-index, that's the fastest solution for real-time collision detection of uniform rectangles.