1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

pub mod gl;

pub mod core;
pub use crate::core::*;

#[cfg(not(feature = "no-renderer"))]
pub mod renderer;
#[cfg(not(feature = "no-renderer"))]
pub mod light;
#[cfg(not(feature = "no-renderer"))]
pub mod objects;
#[cfg(not(feature = "no-renderer"))]
pub mod effects;

#[cfg(not(feature = "no-renderer"))]
pub use crate::renderer::*;
#[cfg(not(feature = "no-renderer"))]
pub use crate::light::*;
#[cfg(not(feature = "no-renderer"))]
pub use crate::objects::*;
#[cfg(not(feature = "no-renderer"))]
pub use crate::effects::*;

#[cfg(any(feature = "glutin-window", feature = "canvas"))]
pub mod window;
#[cfg(any(feature = "glutin-window", feature = "canvas"))]
pub use window::*;