Disclaimer: If you know anything beyond the word itself, you probably know more about matrices than I do. This discussion is a nonmathematical practical guide to using matrix math in OpenGL apps. The routines in the source code are for the most part drawn from standard textbooks or samples I found on the web. All I can say for the code is that it seems to work.