cglm

Optimized C implementation of OpenGL Mathematics (glm) library

brewmacoslinux
Try with needOr install directly
Source

About

Optimized OpenGL/Graphics Math (glm) for C

Commands

cglm

Examples

Include cglm headers in C project for matrix operations$ gcc -I$(brew --prefix cglm)/include myprogram.c -o myprogram -lm
Link against cglm library in CMake project$ find_package(cglm REQUIRED) and target_link_libraries(mytarget cglm)
Verify cglm installation and check version$ pkg-config --cflags --libs cglm