library: light: do not expose sub-modules

This commit is contained in:
Bruno BELANYI 2020-03-23 12:26:55 +01:00 committed by Antoine Martin
parent 0d59f49ea7
commit f8102ddb3b
1 changed files with 4 additions and 4 deletions

View File

@ -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::*;