diff --git a/demo/main.cpp b/demo/main.cpp index 4013fa0d8e047f7c2d9012fe1fecb04939c362b1..60d340f5f8fea1c7c46b3801cfb4877470073c6e 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();