summaryrefslogtreecommitdiff
path: root/engine/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'engine/src/lib.rs')
-rw-r--r--engine/src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/src/lib.rs b/engine/src/lib.rs
index db6ab94..dbbd407 100644
--- a/engine/src/lib.rs
+++ b/engine/src/lib.rs
@@ -7,8 +7,10 @@ use glfw::{Window, WindowBuilder};
use crate::object::{Id as ObjectId, Object};
use crate::vector::Vec2;
+mod matrix;
mod opengl;
mod renderer;
+mod transform;
pub mod color;
pub mod object;
@@ -91,7 +93,7 @@ impl Engine
while !self.window.should_close() {
func(self);
- crate::renderer::render(self.objects.values().map(Object::renderable));
+ crate::renderer::render(self.objects.values());
self.window
.swap_buffers()