📅 2014-Oct-29 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ glm, opengl ⬩ 📚 Archive
OpenGL Mathematics (GLM) is a library of mathematics primitives and functions that can be useful in OpenGL, shader, CUDA and other graphics related code. Everyone ends up writing their own version of this code, often with errors and waste of time. GLM could be a good choice in such cases. Note that GLM is not as featured or complex as Eigen.
Briefly, here are the types and operations you can get in GLM:
Vector operations like normalize, bit swizzling
Use of matrices for projection and lighting operations
Installing GLM library is easy:
$ sudo apt install libglm-dev
GLM is a template header library. So, no library file needs to be specified for the linking stage of compilation.