From 8f4cada7bf1068a9a3063636f7008cbe52875924 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Thu, 25 Feb 2016 09:26:45 -0500 Subject: ui.cpp neatinization --- include/common.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/common.h') diff --git a/include/common.h b/include/common.h index a99e352..ff8d361 100644 --- a/include/common.h +++ b/include/common.h @@ -52,6 +52,11 @@ extern GLuint colorIndex; * This structure contains a set of coordinates for ease of coding. */ +typedef struct { + int x; + int y; +} ivec2; + typedef struct { float x; float y; @@ -74,7 +79,7 @@ typedef struct { vec2 end; } Ray; -struct col{ +struct col { float red; float green; float blue; -- cgit v1.2.3