From 3ab80245fb56ab477284728e19b48321b6a5b15d Mon Sep 17 00:00:00 2001 From: Joseph Walton-Rivers <joseph@walton-rivers.uk> Date: Tue, 7 Sep 2021 21:03:11 +0100 Subject: [PATCH] remove dead code from demo --- demo/main.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/demo/main.cpp b/demo/main.cpp index 4013fa0..60d340f 100644 --- a/demo/main.cpp +++ b/demo/main.cpp @@ -380,16 +380,6 @@ int main(int argc, char* argv[]) { // update step time += dt; - - //process_camera(win, ecs, input, camEnt); - if ( cam_mode == cam_arcball ) { - if ( input.mouseDown( fggl::gfx::MOUSE_2 ) ) { - // process_arcball(win, ecs, input, camEnt); - } - }/* else if ( cam_mode == cam_free ) { - process_freecam(win, ecs, input, camEnt); - }*/ - // imgui joystick debug if ( joystickWindow ) { ImGui::Begin("Joysticks", &joystickWindow); @@ -492,13 +482,6 @@ int main(int argc, char* argv[]) { ImGui::End(); } - /* float amount = glm::radians( time / 2048.0f * 360.0f ); - auto spinners = ecs.getEntityWith<fggl::math::Transform>(); - for ( auto entity : spinners ) { - auto transform = ecs.getComponent<fggl::math::Transform>(entity); - transform->euler(glm::vec3(0.0f, amount, 0.0f)); - }*/ - // render step ogl.clear(); -- GitLab