summaryrefslogtreecommitdiff
path: root/include/objects.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2023-05-02 19:26:41 +0200
committerAldrik Ramaekers <aldrik@amftech.nl>2023-05-02 19:26:41 +0200
commitb4a0031bdb0c5317b2ee56198f02a291bdb0e224 (patch)
treec669d9b398aa1d6d187e6f932f9a8c3cc194406f /include/objects.h
parent7dd42a4af58f795dfced9a22b31855f276beecfc (diff)
lighting work
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,