diff --git a/src/lib.rs b/src/lib.rs index e49766f..2c80124 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,2 @@ mod geometry; -mod math; - -pub use math::Point3; +pub mod math; diff --git a/src/main.rs b/src/main.rs index 94d2357..b18956d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -use hello::Point3; +use hello::math::Point3; fn main() { let p = Point3::new(0.0, 0.0, 0.0);