Simple intersection checking between rotated rectangles and circles/points

(click to interact) (mouseover/click to play GIF) (click and drag to adjust rectangle size/position/rotation; distance to a circle is shown) Suppose you have a rotated rectangle and a basic shape that rotation doesn’t matter for (such as a point, circle, … Continue reading Simple intersection checking between rotated rectangles and circles/points