google/mathfu
C++ math library developed primarily for games focused on simplicity and efficiency. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived
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: 4361
- days_rel: n/a
- days_push: 1279
- n_releases_24m: 0
Adoption not part of the score
1399 stars · 182 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
MathFu is a C++ math library developed primarily for games, providing vector, matrix, and quaternion classes with SIMD optimization. It supports basic geometry and linear algebra operations suitable for graphics, animation, and physics calculations.
Use cases
- perform vector and matrix math in a C++ game engine
- compute quaternion rotations and slerp for animation systems
- build geometry for OpenGL rendering
- use SIMD-optimized linear algebra on ARM and x86
- implement physics calculations in a cross-platform C++ project
When to choose
- you need a lightweight, efficient C++ math library for game development
- you want SIMD-accelerated vector/matrix/quaternion operations across Android, Linux, macOS, and Windows
- you prefer a simple, portable library with minimal dependencies
When to avoid
- you need a full-featured linear algebra library with advanced decompositions or GPU support
- you want a library with frequent updates and active maintenance
- you need GPU shader math or a CUDA/OpenCL-based solution
Facets
library · maturity maintenance
math graphics simulation graphics cpp windows cross-platform linear-algebra simd vectors matrices quaternions game-math header-only game-development algorithms android linux macos
2 sources
- readme: https://github.com/google/mathfu · fetched 2026-08-28 · 6981bc372f1d
- homepage: http://google.github.io/mathfu · fetched 2026-08-29 · eee29b28c481
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/mathfu | main | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem