diff options
Diffstat (limited to 'src/modules/ray/ray_scene.h')
-rw-r--r-- | src/modules/ray/ray_scene.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/modules/ray/ray_scene.h b/src/modules/ray/ray_scene.h index d8a1e7a..820b16b 100644 --- a/src/modules/ray/ray_scene.h +++ b/src/modules/ray/ray_scene.h @@ -10,14 +10,18 @@ typedef union ray_object_t ray_object_t; typedef struct ray_scene_t { - ray_object_t *objects; - unsigned n_objects; + ray_object_t *objects; + unsigned n_objects; - ray_object_t *lights; - unsigned n_lights; + ray_object_t *lights; + unsigned n_lights; - ray_color_t ambient_color; - float ambient_brightness; + ray_color_t ambient_color; + float ambient_brightness; + + struct { + ray_color_t ambient_light; + } _prepared; } ray_scene_t; void ray_scene_prepare(ray_scene_t *scene); |