A comprehensive vector, matrix, complex number, and quaternion math library for Lua 5.1 through 5.4 and LuaJIT.
Vornmath is a pure Lua library providing extensive mathematical types and operations for game development, graphics, and scientific computing. It offers a unified API for scalars, vectors, matrices, complex numbers, and quaternions with support for component-wise and linear algebraic operations.
a + b and a * b for all types.xyzw, rgba, or stpq notation.Vornmath prioritizes completeness and correctness, offering mathematically sound operations across all supported types while maintaining performance through lazy compilation and out-variable patterns.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.