recp/cglm
📽 Highly Optimized 2D / 3D Graphics Math (glm) for C observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 95
- Release rhythm 40
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 3643
- days_rel: 566
- days_push: 35
- n_releases_24m: 2
Adoption not part of the score
3004 stars · 290 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
cglm is a highly optimized 2D/3D graphics math library for C, providing vector, matrix, quaternion, and affine transform operations similar to GLM. It is allocation-free, header-only, and SIMD-optimized (SSE, AVX, NEON) for fast graphics programming.
Use cases
- do matrix and vector math for OpenGL rendering in C
- compute perspective and view matrices for a 3D camera
- implement quaternion rotations for a game engine
- do frustum culling and bounding box checks
- perform SIMD-optimized 3D math on ARM or x86
- use a header-only math library in a C graphics project
- calculate bezier curves and affine transforms
When to choose
- writing C or C-with-graphics code that needs fast vector/matrix math
- you want a header-only, allocation-free math library
- you need SIMD optimizations across SSE, AVX, and NEON
- building game engines, renderers, or OpenGL/Vulkan applications in C
When to avoid
- you are using C++ and prefer the full-featured GLM library
- you need a general-purpose linear algebra library with arbitrary-size matrices
- your project is in a language other than C
Facets
library · maturity stable
math graphics simulation graphics cross-platform cross-platform c wasm header-only simd opengl-math vec3 mat4 quaternion 3d-math sse avx neon game-development algorithms gpu
1 source
- readme: https://github.com/recp/cglm · fetched 2026-08-28 · 587ea8e9d123
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| recp/cglm | main | 77 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem