From f8102ddb3b7352ab80bfb6918155762f32f66ce8 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 23 Mar 2020 12:26:55 +0100 Subject: [PATCH] library: light: do not expose sub-modules --- src/light/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/light/mod.rs b/src/light/mod.rs index 0405a8a..10f6e55 100644 --- a/src/light/mod.rs +++ b/src/light/mod.rs @@ -15,14 +15,14 @@ pub trait SpatialLight: Light { fn to_source(&self, origin: &Point) -> (Vector, f32); } -pub mod ambient_light; +mod ambient_light; pub use ambient_light::*; -pub mod directional_light; +mod directional_light; pub use directional_light::*; -pub mod point_light; +mod point_light; pub use point_light::*; -pub mod spot_light; +mod spot_light; pub use spot_light::*;