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 a99e352..ff8d361 100644
--- a/include/common.h
+++ b/include/common.h
@@ -53,6 +53,11 @@ extern GLuint colorIndex;
*/
typedef struct {
+ int x;
+ int y;
+} ivec2;
+
+typedef struct {
float x;
float y;
} vec2;
@@ -74,7 +79,7 @@ typedef struct {
vec2 end;
} Ray;
-struct col{
+struct col {
float red;
float green;
float blue;