aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2016-01-07 08:25:49 -0500
committerdrumsetmonkey <abelleisle@roadrunner.com>2016-01-07 08:25:49 -0500
commitc7e3d72f0ef08cb9463cd8960bc29dad40e3bdcb (patch)
treed6bfde57916863ca9fd6fa2fbfae42338ae8e630 /include/common.h
parent0f379ae55e07d4e1e7904a3eb33b1c29c2177ec1 (diff)
parent1b2510a427cea42e6381d60f434b5fdec2b181b0 (diff)
Hey, that's pretty good lighting!
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 9dcc110..207b95f 100644
--- a/include/common.h
+++ b/include/common.h
@@ -46,6 +46,12 @@ typedef struct {
float y;
} vec2;
+typedef struct {
+ float x;
+ float y;
+ float z;
+} vec3;
+
/**
* This structure contains two sets of coordinates for ray drawing.
*/
@@ -142,6 +148,8 @@ extern vec2 offset;
*/
extern unsigned int loops;
+extern GLuint shaderProgram;
+
/**
* Prints a formatted debug message to the console, along with the callee's file and line
* number.