aboutsummaryrefslogtreecommitdiff
path: root/src/common/Common.h
diff options
context:
space:
mode:
authorccrs <ccrs@users.noreply.github.com>2018-04-19 13:31:39 +0200
committerShauren <shauren.trinity@gmail.com>2021-09-26 01:22:17 +0200
commit4793b073eec2af32622ff703911721100730e868 (patch)
tree80a8505e660ae22c043856335a454ca0df2aff8e /src/common/Common.h
parent763459ada731d31c75c2bd436e486d6cf033a6d3 (diff)
Core/Misc: movement header cleanup
(cherry picked from commit f9914caefc59f36ab7583432442a26b29124b7f1)
Diffstat (limited to 'src/common/Common.h')
-rw-r--r--src/common/Common.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/common/Common.h b/src/common/Common.h
index 114f24ea132..7c0f2b37142 100644
--- a/src/common/Common.h
+++ b/src/common/Common.h
@@ -131,7 +131,11 @@ struct LocalizedString
#endif
#ifndef M_PI
-#define M_PI 3.14159265358979323846
+#define M_PI 3.14159265358979323846
+#endif
+
+#ifndef M_PI_4
+#define M_PI_4 0.785398163397448309616
#endif
#define MAX_QUERY_LEN 32*1024