Games-by-Mason/geom
Geometric math functionality for game dev.
8e8e772eb2be9a0ccae78b0d7793e2a845524331.zip
Geometry and related math for game development.
I'm going to be fleshing this out into a more cohesive library as I require more functionality.
Currently, it's still missing basic functionality--many 3D types, projection matrices, etc.
This library has features you wouldn't expect out of a linear algebra library, and lacks features you would.
Furthermore, it prioritizes speed over both precision and determinism across CPUs. You shouldn't use this library for scientific computing, or for something like rollback netcode. You should use it when you wanna go fast.
This library runs much faster in release mode. It's recommended that you build it in release mode even when the rest of your app is in debug mode.
For best performance, enable FMA & SSE3 on x86 and Neon & VFP4 on ARM.
Lack of support for FMA in particular will result in FMA being emulated in places where we explicitly ask for it. This will harm performance. On desktop, all common "big" core CPUs have had support since at least 2015 but "small" core CPUs got support more recently.