Math library programmed in C++ built for graphics & game engine programming.
- Arithmetic
- Degree
- Radian
- Vector 2D
- Vector 3D
- Vector 4D
- Matrix 2x2
- Matrix 3x3
- Matrix 4x4
- Quaternion
- The math library uses template types to support all arithmetic types.
- Library is compiled as a static lib (
.lib) via cmake
- Clone the repository
- Add a
build/folder in the root of the project - Open the terminal in the
build/folder and run the cmake commandcmake .. - In the
build/folder a.slnfile should appear, open it & build the solution. This should create a.libfile for the math library - Copy the
.liband the folderLibMath/insource/include/into your project
- 2D & 3D Geometry types (box, circle) & intersection checks
- Additional unit tests for more in-depth testing off all supported math types.