From d51f188c130667c44c44371c2e258cb0e29f3505 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 25 Jan 2021 00:55:43 +0000 Subject: Split physical objects from renderable ones --- application/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'application') diff --git a/application/main.cpp b/application/main.cpp index 2f9ae36..f510eca 100644 --- a/application/main.cpp +++ b/application/main.cpp @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -115,7 +116,7 @@ public: world.apply(&WorldObject::tick, t_passed); windows.apply(&Window::Clear, 0.0F, 0.0F, 0.0F, 1.0F); - world.apply(&Physical::render, shader); + world.apply(&Renderable::render, shader); windows.apply(&Window::SwapBuffers); if (const auto snz = framelen - t_passed; snz.count() > 0) { -- cgit v1.2.3