OpenGL MathematicsGLSL + Optional features = OpenGL Mathematics (GLM)A C++ mathematics library for graphics programmingOpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specifications. GLM provides classes and functions designed and implemented with the same naming conventions and functionalities than GLSL so that anyone who knows GLSL, can use GLM as well in C++. This project isn't limited to GLSL features. An extension system, based on the GLSL extension conventions, provides extended capabilities: matrix transformations, quaternions, data packing, random numbers, noise, etc... This library works perfectly with OpenGL but it also ensures interoperability with other third party libraries and SDK. It is a good candidate for software rendering (raytracing / rasterisation), image processing, physic simulations and any development context that requires a simple and convenient mathematics library.
For more information about GLM, please have a look at the manual and the API reference documentation. The source code and the documentation, including this manual, are licensed under the Happy Bunny License (Modified MIT) or the MIT License. Thanks for contributing to the project by submitting issues for bug reports and feature requests. Any feedback is welcome at glm@g-truc.net. Code sample:
Copyright © 2005 - 2017 G-Truc Creation |