diff options
Diffstat (limited to 'src/world/hittable.rs')
-rw-r--r-- | src/world/hittable.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/world/hittable.rs b/src/world/hittable.rs index 720a019..c5a353e 100644 --- a/src/world/hittable.rs +++ b/src/world/hittable.rs @@ -27,7 +27,5 @@ pub trait Hittable: Sync + Send { fn intersect(&self, ray: &Ray) -> Option<Intersection>; /// Returns the axis alligned bounding box containing self - fn bounding_box(&self) -> Option<Bound3f> { - None - } + fn bounding_box(&self) -> Bound3f; } |