datenwolf/linmath.h
a lean linear math library, aimed at graphics programming. Supports vec3, vec4, mat4x4 and quaternions observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: n/a
- age_days: 5354
- days_rel: n/a
- days_push: 1190
- n_releases_24m: 0
Adoption not part of the score
1059 stars · 139 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A lean, header-only C library providing linear math types for graphics programming: vec3, vec4, mat4x4, and quaternions. Types are named to match GLSL so results can be passed directly to shader uniforms.
Use cases
- do vector and matrix math for OpenGL or Vulkan applications
- compute transformations with 4x4 matrices in C
- use quaternions for 3D rotations
- pass computed values directly to GLSL uniforms
- add lightweight linear algebra to a game engine without dependencies
- implement camera and model-view-projection math
When to choose
- you need a small, dependency-free linear math library in C
- you want GLSL-compatible types for graphics programming
- you prefer a single header you can drop into any project
When to avoid
- you need double precision or SIMD-optimized math
- you need general-purpose linear algebra like arbitrary-size matrices or decompositions
- you work in a language other than C
Facets
library · maturity stable
math graphics sdk graphics cross-platform c header-only linear-algebra vectors matrices quaternions glsl-compatible single-file game-development algorithms
1 source
- readme: https://github.com/datenwolf/linmath.h · fetched 2026-08-28 · f6ca88225f4b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| datenwolf/linmath.h | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="datenwolf/linmath.h")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem