Geometric Tools
http://www.geometrictools.com/
This is the official site for the Geometric Tools source code for real-time computer graphics and physics, mathematics, geometry, numerical analysis, and image analysis. The design, architecture, and algorithms are described in several books as well as in documents available at this site. The source code is freely downloadable.