diff options
author | Julian T <julian@jtle.dk> | 2021-02-21 18:01:56 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-02-21 18:01:56 +0100 |
commit | da1c3949a449f3fafe579c62ff6b14ffd993a197 (patch) | |
tree | 754df5c9b5e9f0fa0a8bb7a8cd3dd4b12fe5ad89 /src/material/lambertian.rs | |
parent | c695da871a75bb6786c08c3546ef71ed032bd61d (diff) |
Add 3d bounding box and merged SceneIntersection and Intersection
Diffstat (limited to 'src/material/lambertian.rs')
-rw-r--r-- | src/material/lambertian.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/material/lambertian.rs b/src/material/lambertian.rs index 8ef5e50..3df6522 100644 --- a/src/material/lambertian.rs +++ b/src/material/lambertian.rs @@ -1,5 +1,6 @@ use super::Material; -use crate::core::{Intersection, Ray, Spectrum}; +use crate::core::{Ray, Spectrum}; +use crate::world::Intersection; use crate::sample::Sampler; use std::rc::Rc; |