mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 10:48:34 +02:00
+ | Better bouncing
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user