diff --git a/cpp/src/math.hpp b/cpp/src/math.hpp index 2756185..058d50a 100644 --- a/cpp/src/math.hpp +++ b/cpp/src/math.hpp @@ -5,6 +5,11 @@ #include #include +#ifdef _WIN32 +#include +#define M_PI std::numbers::pi +#endif + template struct Vec2D { public: Vec2D() = default;