YongMath is a simple & minimal 3D math library.
- 3D Vector
- 3 x 3 Matrix
- 4 x 4 Matrix
- Quaternion
There are 2 ways to use YongMath.
-
Include all source (src/*.cpp) and header (include/*.h) files to your project.
-
Build YongMath as library then link to your project.
- Create "build" directory at project directory
mkdir ./build
- Navigate "build" directory and configure CMake project
cd build cmake ..
- Build it!
cmake --build .