Skip to content

bean-mhm/axium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

axium

axium (stylized as lowercase) is a single-header C++ math library providing utility classes and functions for:

  • Generic math functions
  • Matrices
  • Vectors (2D, 3D, 4D)
  • Quaternions
  • Polar and spherical coordinates
  • 3D rays
  • Basic shapes and their intersections:
    • Axis-Aligned Bounding Boxes (AABB)
    • Circles
    • Spheres
  • 2D and 3D linear transformations
  • Smart number to string conversion

axium is originally based on gsx (my somewhat outdated library for games and simulations) and its math module, albeit with a different naming and coding style.

License

axium is based on the Zero-Clause BSD license (see ./LICENSE). You are not required to include a copy of the license when using axium, or even mention that you're using it in your project, although it would be appreciated.

Disclaimer

As stated in the license, there is no guarantee that everything is implemented correctly in axium. I am not responsible for any damages coming from an implementation error or bug in axium. However, I will try my best to fix any existing bugs if I find any.

Donations

If axium helps you in your projects, feel free to show your support!

Buy Me a Coffee at ko-fi.com