From 6f7f4b6fcb1ebc9243df515c838dde198b636bc1 Mon Sep 17 00:00:00 2001 From: Julian T Date: Tue, 10 Mar 2020 11:57:41 +0100 Subject: Initial with a link to resources --- scene.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'scene.h') 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); -- cgit v1.2.3