mgmath
Simple vector/matrix library (by szabotudor)
HandmadeMath
A simple math library for games and computer graphics. Compatible with both C and C++. Public domain and easy to modify. (by HandmadeMath)
Our great sponsors
mgmath | HandmadeMath | |
---|---|---|
1 | 4 | |
2 | 1,137 | |
- | 2.6% | |
5.3 | 5.7 | |
10 days ago | 14 days ago | |
C++ | C | |
- | Creative Commons Zero v1.0 Universal |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mgmath
Posts with mentions or reviews of mgmath.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-05.
HandmadeMath
Posts with mentions or reviews of HandmadeMath.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-14.
-
Trouble calculating projection matrix
If you don't like using heavy libraries such as glm, I recommend looking at HandmadeMath. It is a single file c/c++ math library for graphics programming. You can just drop it into your project. It's lightweight and will save you a lot of time implementing the math yourself. In a lot of cases, it actually uses optimized solutions to save computation time (same with the glm).
- Handmade Math A simple math library for games and computer graphics
- Matrix multiplication in C
-
mgmath - Header only vector/matrix math library
HandmadeMath does that for example, so you can take a look at how they've done it: https://github.com/HandmadeMath/Handmade-Math
What are some alternatives?
When comparing mgmath and HandmadeMath you can also consider the following projects:
cglm - 📽 Highly Optimized 2D / 3D Graphics Math (glm) for C
nbnet - single header C(99) library to implement client-server network code for games
Celerity - Celerity -- a Game / Visualization Engine for Windows, written in C++
raylib - A simple and easy-to-use library to enjoy videogames programming
rayfork - C99 Game Library. XNA-like. Platform Independent. Allocator Aware.
zig-gamedev - Main monorepo for @zig-gamedev libs and example applications
ioq3 - The ioquake3 community effort to continue supporting/developing id's Quake III Arena