aboutsummaryrefslogtreecommitdiff
path: root/08-august/src/light.h
diff options
context:
space:
mode:
Diffstat (limited to '08-august/src/light.h')
-rw-r--r--08-august/src/light.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/08-august/src/light.h b/08-august/src/light.h
new file mode 100644
index 0000000..afc8eda
--- /dev/null
+++ b/08-august/src/light.h
@@ -0,0 +1,13 @@
+#ifndef LIGHT_H
+#define LIGHT_H
+
+#include "vertex.h"
+
+typedef struct
+{
+ vec3_t position;
+ vec4_t color;
+ vec3_t attenuation;
+} light_t;
+
+#endif // LIGHT_H