Portal:Development Tools/Math Libraries

From OpenGL.org
Jump to: navigation, search

Core profiles of OpenGL no longer have matrix math functions. Therefore, the user will typically need to provide this functionality in some way. These libraries serve that purpose.

Name Description
GLM A cross-platform C++ mathematics library designed to match GLSL math functionality as much as C++ can. It also provides vectors and matrices classes and functions to replace the removed OpenGL functions and many more features from half-precision floating point or quaternions. It is licensed under the MIT license.
TVMet A cross-platform math library focused on CPU performance via the use of expression template metaprogramming techniques and lazy evaluation. It is licensed under a modified from of the GNU LGPL license. The license modification specifically allows static linking without having the entire program be subject to LGPL. The library has not been updated since 2007.