1
0
mirror of https://github.com/borgesdan/xn65 synced 2024-12-29 21:54:47 +01:00
xn65/framework/common/math.hpp
2024-04-12 11:36:29 -03:00

17 lines
384 B
C++

#ifndef XNA_COMMON_MATH_HPP
#define XNA_COMMON_MATH_HPP
#include <limits>
namespace xna {
struct MathHelper {
static constexpr double E = 2.7182818284590451;
static constexpr double PI = 3.1415926535897931;
static constexpr double TAU = 6.2831853071795862;
static constexpr double EPSILON = std::numeric_limits<double>::epsilon();
};
using Math = MathHelper;
}
#endif