From 1b9de2f6461936004ddbd200ebc945c1df0c51c8 Mon Sep 17 00:00:00 2001 From: drumsetmonkey Date: Tue, 3 Nov 2015 08:45:52 -0500 Subject: Worked on rays --- include/common.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/common.h b/include/common.h index b016020..11d5226 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, -- cgit v1.2.3