diff options
Diffstat (limited to 'racer-tracer/src/geometry.rs')
| -rw-r--r-- | racer-tracer/src/geometry.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/racer-tracer/src/geometry.rs b/racer-tracer/src/geometry.rs index aa1c18c..8d86353 100644 --- a/racer-tracer/src/geometry.rs +++ b/racer-tracer/src/geometry.rs @@ -47,8 +47,4 @@ impl Default for HitRecord { pub trait Hittable { //pub trait Hittable { fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option<HitRecord>; - - // Manual ugly clone since forcing on Clone would make it a super trait. - // Clone requires Sized and super traits cannot be Sized. - fn clone_box(&self) -> Box<dyn Hittable>; } |
