aboutsummaryrefslogtreecommitdiff
path: root/src/hittable/mod.rs
diff options
context:
space:
mode:
authorlamp2024-01-21 17:03:07 +0000
committerlamp2024-01-21 17:03:07 +0000
commit45fafbcd4b41a5388ece377c4e051b5846407288 (patch)
tree2192c471ca3b47671f0906e27f6f6088f40b3d8a /src/hittable/mod.rs
parent89a5c9a8a0cdf627cda0e31da454f83ca21315ce (diff)
fmt and tidy
Diffstat (limited to 'src/hittable/mod.rs')
-rw-r--r--src/hittable/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hittable/mod.rs b/src/hittable/mod.rs
index e888c71..b2b06f0 100644
--- a/src/hittable/mod.rs
+++ b/src/hittable/mod.rs
@@ -1,5 +1,5 @@
-pub mod instance;
mod bvh_node;
+pub mod instance;
pub use bvh_node::BVHNode;
mod constant_medium;
pub use constant_medium::ConstantMedium;
@@ -23,9 +23,9 @@ mod aabb;
use std::sync::Arc;
+use crate::material::Material;
use crate::ray::Ray;
use crate::vec3::{Point3, Vec3};
-use crate::material::Material;
use aabb::AABB;
#[derive(Clone)]