summaryrefslogtreecommitdiff
path: root/include/objects.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/objects.h')
-rw-r--r--include/objects.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/objects.h b/include/objects.h
index 5842985..f79e115 100644
--- a/include/objects.h
+++ b/include/objects.h
@@ -11,6 +11,12 @@ typedef struct t_vec3f {
float x,y,z;
} vec3f;
+typedef struct t_light_emitter {
+ vec3f position;
+ float brightness;
+ float range;
+} light_emitter;
+
typedef enum t_object_type {
OBJECT_COBBLESTONEWALL1 = 1,
OBJECT_PLANTBOX1 = 2,