aboutsummaryrefslogtreecommitdiff
path: root/src/scene/shapes/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/scene/shapes/mod.rs')
-rw-r--r--src/scene/shapes/mod.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/scene/shapes/mod.rs b/src/scene/shapes/mod.rs
index 9b6bdfd..d7583ad 100644
--- a/src/scene/shapes/mod.rs
+++ b/src/scene/shapes/mod.rs
@@ -2,15 +2,3 @@ mod sphere;
pub use sphere::Sphere;
-use crate::core::{Vector3f, Ray};
-use crate::Float;
-
-pub trait Shape {
- fn intersect(&self, ray: &Ray) -> Option<Float>;
-
- /// Calculates the normal at point
- ///
- /// Point is assumed to be on the circle.
- /// The resulting vector is assumed to be normalized.
- fn norm_at(&self, point: &Vector3f) -> Vector3f;
-}