From 0987464cf99120b6728949496ee41bd14a35b225 Mon Sep 17 00:00:00 2001 From: Keuin Date: Sat, 24 Dec 2022 17:08:15 +0800 Subject: Make it compile with MSVC. --- main_final_render.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main_final_render.cpp') 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" -- cgit v1.2.3