From e4604c5f985cdd2b3b8b234fb448b42006e41b3d Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Fri, 29 Sep 2017 17:52:56 -0700 Subject: ray: remove unused ray_scene_t.n_{lights,objects} Commit 445e94 switched to using sentinel objects, but missed removal of these obsoleted object counts. --- src/modules/ray/ray_scene.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/modules/ray') diff --git a/src/modules/ray/ray_scene.h b/src/modules/ray/ray_scene.h index 1fe736c..5c7cd5e 100644 --- a/src/modules/ray/ray_scene.h +++ b/src/modules/ray/ray_scene.h @@ -11,10 +11,7 @@ typedef union ray_object_t ray_object_t; typedef struct ray_scene_t { ray_object_t *objects; - unsigned n_objects; - ray_object_t *lights; - unsigned n_lights; ray_color_t ambient_color; float ambient_brightness; -- cgit v1.2.1