diff options
Diffstat (limited to 'src/world/hittable.rs')
-rw-r--r-- | src/world/hittable.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/world/hittable.rs b/src/world/hittable.rs index 4fbd3d0..9713c7c 100644 --- a/src/world/hittable.rs +++ b/src/world/hittable.rs @@ -1,6 +1,7 @@ use crate::core::{Vector3f, Bound3f, Ray}; use crate::Float; use crate::material::Material; +use crate::world::Instancable; use std::ops::Deref; @@ -57,3 +58,5 @@ impl Deref for DynHittable { self.0.as_ref() } } + +impl Instancable for DynHittable {} |