aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h
index db60dd6..41cc7b9 100644
--- a/include/common.h
+++ b/include/common.h
@@ -39,7 +39,7 @@ typedef unsigned int uint;
* This flag lets the compiler know that we are using shaders
*/
-#define SHADERS
+#define SHADERSf
/*
* Create a basic 2-point structure for coordinate saving
@@ -50,6 +50,11 @@ typedef struct {
float y;
} vec2;
+typedef struct {
+ vec2 start;
+ vec2 end;
+} Ray;
+
/*
* Define the game's name (displayed in the window title),
* the desired window dimensions,