summaryrefslogtreecommitdiff
path: root/main_final_render.cpp
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-12-24 17:08:15 +0800
committerKeuin <[email protected]>2022-12-24 17:26:01 +0800
commit0987464cf99120b6728949496ee41bd14a35b225 (patch)
tree749e84bcd17ec002bc486aa308c8636df2e21de2 /main_final_render.cpp
parentda03ccd81467af87452b45763da87a4e3ce603a1 (diff)
Make it compile with MSVC.HEADmaster
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"