diff options
author | Julian T <julian@jtle.dk> | 2021-08-01 23:24:44 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-08-01 23:24:44 +0200 |
commit | 13e018067631a7401df5b232f95f3d1f7a0cd75c (patch) | |
tree | 2c91fe273cfeab48548ffb77c3392bdbdad650a5 /src/material/mod.rs | |
parent | 86ad7845219e8db06fe47b62794180e1b40f90a5 (diff) |
Readd reflective material
Diffstat (limited to 'src/material/mod.rs')
-rw-r--r-- | src/material/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/material/mod.rs b/src/material/mod.rs index d3c3154..6732598 100644 --- a/src/material/mod.rs +++ b/src/material/mod.rs @@ -6,11 +6,13 @@ mod lambertian; mod diffuse_light; mod sky_light; mod dielectric; +pub mod reflectant; pub use lambertian::Lambertian; pub use diffuse_light::DiffuseLight; pub use sky_light::SkyLight; pub use dielectric::Dielectric; +pub use reflectant::Reflectant; pub trait Material: Sync + Send { fn scatter(&self, _: &Ray, _: &Intersection, _: &mut dyn Sampler) -> Option<(Spectrum, Ray)> { |