summaryrefslogtreecommitdiff
path: root/main_final_render.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main_final_render.cpp')
-rw-r--r--main_final_render.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/main_final_render.cpp b/main_final_render.cpp
index 277ffd9..c2c44ca 100644
--- a/main_final_render.cpp
+++ b/main_final_render.cpp
@@ -2,6 +2,9 @@
// Created by Keuin on 2022/4/21.
//
+// include M_PI from cmath when using MSVC
+#define _USE_MATH_DEFINES
+
#include "viewport.h"
#include "hitlist.h"
#include "aa.h"