cglm is optimized 3D math library written in C99 (compatible with C89). It is similar to original glm library except this is mainly for C
This library stores matrices as column-major order but in the future row-major is considered to be supported as optional.
Also currently only float type is supported for most operations.
- API documentation
- 3D Affine Transforms
- 3D Affine Transform Matrix (specialized functions)
- 2D Affine Transforms
- axis aligned bounding box (AABB)
- euler angles
- vec3 extra
- vec4 extra
- vec2 extra
- Project / UnProject
- utils / helpers
- io (input / output e.g. print)
- precompiled functions (call)