summaryrefslogtreecommitdiff
path: root/racer-tracer/src/scene.rs
diff options
context:
space:
mode:
Diffstat (limited to 'racer-tracer/src/scene.rs')
-rw-r--r--racer-tracer/src/scene.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/racer-tracer/src/scene.rs b/racer-tracer/src/scene.rs
index 672b39b..c5e76da 100644
--- a/racer-tracer/src/scene.rs
+++ b/racer-tracer/src/scene.rs
@@ -1,7 +1,7 @@
use crate::geometry::Hittable;
pub struct Scene {
- objects: Vec<Box<dyn Hittable + Sync + Send>>,
+ objects: Vec<Box<dyn Hittable>>,
}
impl Scene {
@@ -11,7 +11,7 @@ impl Scene {
}
}
- pub fn add(&mut self, hittable: Box<dyn Hittable + Sync + Send>) {
+ pub fn add(&mut self, hittable: Box<dyn Hittable>) {
self.objects.push(hittable);
}
}