Skip to content

SapphireSuite/Maths

Repository files navigation

Maths

Unix Windows MacOS

Sapphire Suite's C++ Maths library.
Links to the official documentation and wiki for advanced details.

How To Use

Collection Headers

#include <SA/Collections/Maths> 		// Include all modules

#include <SA/Collections/Angle>
#include <SA/Collections/Algorithms>
#include <SA/Collections/Space> 		// Vec2, Vec3, Vec4, and Quaternion.
#include <SA/Collections/Matrix> 		// Mat3 and Mat4
#include <SA/Collections/Transform>

CMake

Add the subdirectory to the build tree and link the library to your taget:

add_subdirectory(Maths)
target_link_libraries(<target> <link> SA_Maths)

Authors

Maxime "mrouffet" ROUFFET - main developer (maximerouffet@gmail.com)

Special Thanks

Guillaume JUSTE - LookAt/View/InverseView matrix optimization.