diff options
author | epoch <epoch@hacking.allowed.org> | 2020-07-17 04:01:24 -0500 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2020-07-17 04:01:24 -0500 |
commit | 7bb1723876d365b8574f1c281134f0f46aea83fe (patch) | |
tree | f0947888a134dfd704c0dfcf19ba20fdaa0c95bc | |
parent | 086db581230d0f795f92dbaef637cd19d8538da9 (diff) | |
download | hackvr-7bb1723876d365b8574f1c281134f0f46aea83fe.tar.gz hackvr-7bb1723876d365b8574f1c281134f0f46aea83fe.zip |
this header got 4 constants moved into it that it should have gotten a long time ago. TOP, BOTTOM, RIGHT, LEFT
-rw-r--r-- | src/graphics_c2.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/graphics_c2.h b/src/graphics_c2.h index 35920fd..8a481d9 100644 --- a/src/graphics_c2.h +++ b/src/graphics_c2.h @@ -3,6 +3,11 @@ #include "math.h" +#define TOP 240.0 +#define BOTTOM -240.0 +#define RIGHT 320.0 +#define LEFT -320.0 + int c2sX(real x); int s2cX(real x); int c2sY(real y); |