diff options
Diffstat (limited to 'engine/src/lib.rs')
-rw-r--r-- | engine/src/lib.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engine/src/lib.rs b/engine/src/lib.rs index fdd79a4..fada83f 100644 --- a/engine/src/lib.rs +++ b/engine/src/lib.rs @@ -12,7 +12,6 @@ use crate::object::{Id as ObjectId, Object}; use crate::renderer::Renderer; use crate::vector::Vec2; -mod matrix; mod opengl; mod projection; mod renderer; @@ -20,19 +19,21 @@ mod shader_preprocessor; mod transform; pub mod camera; -pub mod color; +pub mod data_types; pub mod lighting; pub mod material; pub mod math; pub mod mesh; pub mod object; pub mod texture; -pub mod vector; pub mod vertex; pub use glfw::window::Key; pub use glfw::WindowSize; +pub(crate) use crate::data_types::matrix; +pub use crate::data_types::{color, vector}; + #[derive(Debug)] pub struct Engine<CameraT> { |