Writing code in GLSL can be a bit of a pain when you’re used to the luxury of more modern languages like C++ which offer nice API’s for complex mathematics.  The GLM project provides a set of C++ style functions suitable for use in GLSL and other high-level GPU languages to compute vectors, roots, quaternions, and other detailed mathematics.

GLM 0.9.0.0 is finally available! It brings various API changes from GLM 0.8.4.X branch which makes it not backward compatible. GLM is now compatible with Objective C++ to be used for MacOS X and iPhone projects.

The example code on their site is far easier to understand than most GLSL code I’ve seen, using “normal” looking functions for square roots and vector arithmetic.

via OpenGL Mathematics: News.