diff options
author | aap <aap@papnet.eu> | 2019-07-18 15:41:09 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-07-18 15:41:09 +0200 |
commit | fd01f9b25cdc3b527a886ee6b9237b01a5475295 (patch) | |
tree | 6db1dbfeb6feedcf79e870f417b82af29da7ca21 /src/core/common.h | |
parent | Merge pull request #147 from erorcun/erorcun (diff) | |
download | re3-fd01f9b25cdc3b527a886ee6b9237b01a5475295.tar re3-fd01f9b25cdc3b527a886ee6b9237b01a5475295.tar.gz re3-fd01f9b25cdc3b527a886ee6b9237b01a5475295.tar.bz2 re3-fd01f9b25cdc3b527a886ee6b9237b01a5475295.tar.lz re3-fd01f9b25cdc3b527a886ee6b9237b01a5475295.tar.xz re3-fd01f9b25cdc3b527a886ee6b9237b01a5475295.tar.zst re3-fd01f9b25cdc3b527a886ee6b9237b01a5475295.zip |
Diffstat (limited to 'src/core/common.h')
-rw-r--r-- | src/core/common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/common.h b/src/core/common.h index fd961dd7..c241e1c6 100644 --- a/src/core/common.h +++ b/src/core/common.h @@ -139,7 +139,8 @@ inline float sq(float x) { return x*x; } #define SQR(x) ((x) * (x)) #define PI M_PI -#define TWOPI PI*2 +#define TWOPI (PI*2) +#define HALFPI (PI/2) #define DEGTORAD(x) ((x) * PI / 180.0f) #define RADTODEG(x) ((x) * 180.0f / PI) |