Games-by-Mason/geom
Geometric math functionality for game dev.
e3f6d439d7a5422c84c28c93bab0bc82e6eaab6bGeometry and related math for game development.
I'm going to be fleshing this out into a more cohesive library as I require more functionality.
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.