This library provides a number of common mathematical utilities. It integrates the standard library complex type into glm
such that it can be used almost identically to glm
quaternion.
Once the package is installed, it can be found using the cmake find_package command:
find_package(ez-math CONFIG REQUIRED)
The package provides the target ez::math
, an interface target that specifies the location of the header files for usage.
The headers provided are:
#include <ez/math/color.hpp>
#include <ez/math/constants.hpp>
#include <ez/math/complex.hpp>
#include <ez/math/poly.hpp>
#include <ez/math/trig.hpp>
Further documentation is provided by the wiki.