This C library handles 2-dimensional bounding box collision detection. It is optimized to scale well from a few objects to many thousands of objects.