From 89a5c9a8a0cdf627cda0e31da454f83ca21315ce Mon Sep 17 00:00:00 2001 From: lamp Date: Sun, 21 Jan 2024 16:40:16 +0000 Subject: implement beer's law for colourful dielectrics --- src/hittable/constant_medium.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hittable/constant_medium.rs') diff --git a/src/hittable/constant_medium.rs b/src/hittable/constant_medium.rs index b047c23..36ac2ff 100644 --- a/src/hittable/constant_medium.rs +++ b/src/hittable/constant_medium.rs @@ -1,6 +1,6 @@ use std::sync::Arc; -use crate::{hittable::{HitRecord, Hittable, AABB}, material::{Isotropic, Material}, ray::Ray, texture::Texture, vec3::Vec3}; +use crate::{hittable::{HitRecord, Hittable, AABB}, material::{Isotropic, Material}, ray::Ray, texture::Texture, vec3::{Vec3, Point3}}; pub struct ConstantMedium { boundary: Arc, -- cgit v1.2.3