From da1c3949a449f3fafe579c62ff6b14ffd993a197 Mon Sep 17 00:00:00 2001 From: Julian T Date: Sun, 21 Feb 2021 18:01:56 +0100 Subject: Add 3d bounding box and merged SceneIntersection and Intersection --- src/material/reflectant.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/material/reflectant.rs') diff --git a/src/material/reflectant.rs b/src/material/reflectant.rs index f4b110c..dea7aca 100644 --- a/src/material/reflectant.rs +++ b/src/material/reflectant.rs @@ -1,5 +1,6 @@ use crate::Float; -use crate::core::{Ray, Intersection, Spectrum, Vector3f}; +use crate::core::{Ray, Spectrum, Vector3f}; +use crate::world::Intersection; use super::Material; use crate::sample::Sampler; -- cgit v1.2.3