cglm Documentation¶
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.
Getting Started:
How To:
API:
- API documentation
- affine transforms
- affine transform matrix (specialized functions)
- camera
- frustum
- axis aligned bounding box (AABB)
- quaternions
- euler angles
- mat4
- mat3
- mat2
- vec3
- vec3 extra
- vec4
- vec4 extra
- vec2
- vec2 extra
- color
- plane
- Project / UnProject
- utils / helpers
- io (input / output e.g. print)
- precompiled functions (call)
- Sphere
- Curve
- Bezier