diff options
author | lamp | 2024-01-21 16:40:16 +0000 |
---|---|---|
committer | lamp | 2024-01-21 16:40:16 +0000 |
commit | 89a5c9a8a0cdf627cda0e31da454f83ca21315ce (patch) | |
tree | 8da94d4b9bf1cd61353f278a94312719d60b306e /src/hittable | |
parent | c0fc3926e06acddcc02ef086fbda688d4709e5ba (diff) |
implement beer's law for colourful dielectrics
Diffstat (limited to 'src/hittable')
-rw-r--r-- | src/hittable/constant_medium.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<dyn Hittable>, |