summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2020-07-17 04:01:24 -0500
committerepoch <epoch@hacking.allowed.org>2020-07-17 04:01:24 -0500
commit7bb1723876d365b8574f1c281134f0f46aea83fe (patch)
treef0947888a134dfd704c0dfcf19ba20fdaa0c95bc /src
parent086db581230d0f795f92dbaef637cd19d8538da9 (diff)
downloadhackvr-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
Diffstat (limited to 'src')
-rw-r--r--src/graphics_c2.h5
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);