Tag Archives: 2D

Detecting Whether Two Convex Polygons Overlap

In a previous post I described how to tell whether two axially aligned bounding boxes (AABB’s) intersected. The solution was presented as a process of elimination: if box A is to the left of B, to the the right of … Continue reading

Posted in Uncategorized | Tagged | 6 Comments

Detecting Whether Two Boxes Overlap

Questions asked on job interviews also make for interesting blog post topics. (And very rarely, they are also practical!) This post discusses one of my favorite interview questions: “How can you tell if two axially-aligned 2D boxes intersect?” The adjective … Continue reading

Posted in Uncategorized | Tagged , , | 5 Comments