summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-11 09:09:21 +0200
committerGitHub <noreply@github.com>2019-07-11 09:09:21 +0200
commit3e1455cc37cfec35f77b1b933c6c16316684fe7d (patch)
treefa82496d356ac2b77ffa1ab00684b0150907f009 /src/core
parentMerge pull request #129 from erorcun/erorcun (diff)
parentMerge branch 'master' into master (diff)
downloadre3-3e1455cc37cfec35f77b1b933c6c16316684fe7d.tar
re3-3e1455cc37cfec35f77b1b933c6c16316684fe7d.tar.gz
re3-3e1455cc37cfec35f77b1b933c6c16316684fe7d.tar.bz2
re3-3e1455cc37cfec35f77b1b933c6c16316684fe7d.tar.lz
re3-3e1455cc37cfec35f77b1b933c6c16316684fe7d.tar.xz
re3-3e1455cc37cfec35f77b1b933c6c16316684fe7d.tar.zst
re3-3e1455cc37cfec35f77b1b933c6c16316684fe7d.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/common.h b/src/core/common.h
index e5702a2f..4b7bcb0a 100644
--- a/src/core/common.h
+++ b/src/core/common.h
@@ -139,6 +139,7 @@ inline float sq(float x) { return x*x; }
#define SQR(x) ((x) * (x))
#define PI M_PI
+#define TWOPI PI*2
#define DEGTORAD(x) ((x) * PI / 180.0f)
#define RADTODEG(x) ((x) * 180.0f / PI)