aboutsummaryrefslogtreecommitdiff
path: root/scene.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene.h')
-rw-r--r--scene.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/scene.h b/scene.h
index 90e5ebb..7eef588 100644
--- a/scene.h
+++ b/scene.h
@@ -62,6 +62,12 @@ typedef struct {
color_t ambient;
color_t back;
+
+ // Environment light
+ // TODO make more general
+ // Slows things down alot
+ bool env_enabled;
+ color_t env_color;
} space_t;
object_t *add_sphere(space_t *s, vector_t *c, COORD_T r, material_t *m);