C++ glm: https://glm.g-truc.net/0.9.9/index.html
I created the header file for OpenGL Mathematics for C cglm
C cglm: https://github.com/recp/cglm
The lib used fast SIMD CPU instruction to speed up vec4,mat2,mat4 ... math.
This data types: vec2,vec3, mat3 are unaligned.
vec4, mat2, mat4, quart, frustum, sphere, aabb ... are 16 byte aligned data types !
download: fbcglm.zip
download: libcglm-src.zip
For Windows users I build libcglm.dll for 32/64-bit look at the lib folder.
As a Linux user you can build it self with cmake, extract libcglm-src.zip in you home folder
By the way you get over 450 well tested math functionterminal wrote:cd libcglm-src
cd build
cmake ..
make
sudo make install
of course you can use it independent from OpenGL for your own 2D/3D stuff !
Happy math coding :-)
Joshy