summaryrefslogtreecommitdiff
path: root/racer-tracer/src/geometry/sphere.rs
diff options
context:
space:
mode:
Diffstat (limited to 'racer-tracer/src/geometry/sphere.rs')
-rw-r--r--racer-tracer/src/geometry/sphere.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/racer-tracer/src/geometry/sphere.rs b/racer-tracer/src/geometry/sphere.rs
index 256abec..81b621c 100644
--- a/racer-tracer/src/geometry/sphere.rs
+++ b/racer-tracer/src/geometry/sphere.rs
@@ -9,11 +9,11 @@ use crate::vec3::Vec3;
pub struct Sphere {
pos: Vec3,
radius: f64,
- material: Arc<Box<dyn Material + Sync + Send>>, // Just a color for now.
+ material: Arc<Box<dyn Material>>,
}
impl Sphere {
- pub fn new(pos: Vec3, radius: f64, material: Arc<Box<dyn Material + Sync + Send>>) -> Self {
+ pub fn new(pos: Vec3, radius: f64, material: Arc<Box<dyn Material>>) -> Self {
Self {
pos,
radius,