diff --git a/pathtracer/src/render/mod.rs b/pathtracer/src/render/mod.rs index 2e62f69..1e2b4b2 100644 --- a/pathtracer/src/render/mod.rs +++ b/pathtracer/src/render/mod.rs @@ -15,7 +15,7 @@ pub use bidirectional::*; mod pathtrace; pub use pathtrace::*; -mod raytracer; -pub use raytracer::*; +mod raytrace; +pub use raytrace::*; pub(crate) mod utils; diff --git a/pathtracer/src/render/raytrace/mod.rs b/pathtracer/src/render/raytrace/mod.rs new file mode 100644 index 0000000..0f3fcf1 --- /dev/null +++ b/pathtracer/src/render/raytrace/mod.rs @@ -0,0 +1,2 @@ +mod raytracer; +pub use self::raytracer::*; diff --git a/pathtracer/src/render/raytracer.rs b/pathtracer/src/render/raytrace/raytracer.rs similarity index 99% rename from pathtracer/src/render/raytracer.rs rename to pathtracer/src/render/raytrace/raytracer.rs index 6757772..19b50dc 100644 --- a/pathtracer/src/render/raytracer.rs +++ b/pathtracer/src/render/raytrace/raytracer.rs @@ -1,5 +1,5 @@ -use super::utils::*; -use super::Renderer; +use super::super::utils::*; +use super::super::Renderer; use crate::scene::{Object, Scene}; use crate::{ core::{LightProperties, LinearColor, ReflTransEnum},