diff options
author | Julian T <julian@jtle.dk> | 2021-02-07 14:25:06 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-02-07 14:26:20 +0100 |
commit | 33e747fa1c0957546c10e4d7b490ac7fbb0fd2d2 (patch) | |
tree | 515b2b2e017329cbcada60e898fb5795fbceb5cd /src/core/mod.rs | |
parent | a43ab40a75e9d4c6ee3fbdd583bc93574db19124 (diff) |
Abstracted lambertian into material
Diffstat (limited to 'src/core/mod.rs')
-rw-r--r-- | src/core/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/mod.rs b/src/core/mod.rs index 5723b2d..c2b3771 100644 --- a/src/core/mod.rs +++ b/src/core/mod.rs @@ -6,6 +6,7 @@ pub mod vector2; pub mod vector3; pub mod bound; pub mod spectrum; +pub mod hittable; mod ray; pub use vector2::{Vector2i, Vector2f}; @@ -13,3 +14,4 @@ pub use vector3::Vector3f; pub use bound::{Bound2i, Bound2f}; pub use spectrum::Spectrum; pub use ray::Ray; +pub use hittable::{Hittable, Intersection}; |