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