summaryrefslogtreecommitdiffstats
path: root/src/core/common.h
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2019-07-11 02:22:01 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2019-07-11 02:33:28 +0200
commitaed8218ef16679b36e5d869e79128315d9140794 (patch)
tree67e43ef67838a648c7dc8c39decb4c48b082fea2 /src/core/common.h
parentthe great reorganization (diff)
downloadre3-aed8218ef16679b36e5d869e79128315d9140794.tar
re3-aed8218ef16679b36e5d869e79128315d9140794.tar.gz
re3-aed8218ef16679b36e5d869e79128315d9140794.tar.bz2
re3-aed8218ef16679b36e5d869e79128315d9140794.tar.lz
re3-aed8218ef16679b36e5d869e79128315d9140794.tar.xz
re3-aed8218ef16679b36e5d869e79128315d9140794.tar.zst
re3-aed8218ef16679b36e5d869e79128315d9140794.zip
Diffstat (limited to 'src/core/common.h')
-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 79626acb..33ebcdbb 100644
--- a/src/core/common.h
+++ b/src/core/common.h
@@ -138,6 +138,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)