+ | Better bouncing

This commit is contained in:
TheRedShip
2025-03-04 21:15:04 +01:00
parent a890cca50b
commit 680ff6eb03
3 changed files with 22 additions and 13 deletions

View File

@ -318,7 +318,6 @@ void Window::imGuiRender(ShaderProgram &raytracing_program)
has_changed |= ImGui::SliderInt("Triangle treshold", &_scene->getDebug().triangle_treshold, 1, 2000);
}
_renderer->renderImgui();
ImGui::End();
@ -326,7 +325,6 @@ void Window::imGuiRender(ShaderProgram &raytracing_program)
ImGui::Render();
ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());
if (has_changed)
_frameCount = (accumulate == 0) - 1;
}