+ | Better bouncing

This commit is contained in:
TheRedShip
2025-03-04 21:15:04 +01:00
committed by tomoron
parent 507b8fef04
commit ecc1f68329
3 changed files with 23 additions and 14 deletions

View File

@ -6,7 +6,7 @@
/* By: ycontre <ycontre@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/13 16:16:24 by TheRed #+# #+# */
/* Updated: 2025/03/18 16:23:10 by tomoron ### ########.fr */
/* Updated: 2025/03/18 16:24:39 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
@ -326,7 +326,6 @@ void Window::imGuiRender(ShaderProgram &raytracing_program)
has_changed |= ImGui::SliderInt("Triangle treshold", &_scene->getDebug().triangle_treshold, 1, 2000);
}
_renderer->renderImgui(*_clusterizer);
_clusterizer->imguiRender();
@ -335,7 +334,6 @@ void Window::imGuiRender(ShaderProgram &raytracing_program)
ImGui::Render();
ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());
if (has_changed)
_frameCount = (accumulate == 0) - 1;
}