summaryrefslogtreecommitdiff
path: root/src/modules/ray
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2017-09-29 17:52:56 -0700
committerVito Caputo <vcaputo@pengaru.com>2017-09-29 17:52:56 -0700
commite4604c5f985cdd2b3b8b234fb448b42006e41b3d (patch)
treed03b182016a020d26e48fea545d1f2cb02ec5f8c /src/modules/ray
parentfc1a7bc862121c81a4b1e6075c9c0d3381e2f1bb (diff)
ray: remove unused ray_scene_t.n_{lights,objects}
Commit 445e94 switched to using sentinel objects, but missed removal of these obsoleted object counts.
Diffstat (limited to 'src/modules/ray')
-rw-r--r--src/modules/ray/ray_scene.h3
1 files changed, 0 insertions, 3 deletions
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;
© All Rights Reserved