summaryrefslogtreecommitdiff
path: root/src/modules/ray/ray_scene.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/ray/ray_scene.h')
-rw-r--r--src/modules/ray/ray_scene.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/ray/ray_scene.h b/src/modules/ray/ray_scene.h
index 98928ee..1fe736c 100644
--- a/src/modules/ray/ray_scene.h
+++ b/src/modules/ray/ray_scene.h
@@ -20,11 +20,12 @@ typedef struct ray_scene_t {
float ambient_brightness;
struct {
- ray_color_t ambient_light;
+ ray_color_t ambient_light;
+ ray_camera_frame_t frame;
} _prepared;
} ray_scene_t;
void ray_scene_prepare(ray_scene_t *scene, ray_camera_t *camera);
-void ray_scene_render_fragment(ray_scene_t *scene, ray_camera_t *camera, fb_fragment_t *fragment);
+void ray_scene_render_fragment(ray_scene_t *scene, fb_fragment_t *fb_fragment);
#endif
© All Rights Reserved