This is no real lite-c contribution, so sorry.
But I thought that one would most likely search for this in here.

Okay. As title says it. Algorithms to calculate intersections of various shapes:
http://www.realtimerendering.com/intersections.html


Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com