start changing parsing of arguments to add settings and start a render with no input

This commit is contained in:
2025-02-04 03:19:29 +01:00
parent 9ddce8b6d0
commit 2264ed7a8f
16 changed files with 396 additions and 148 deletions

View File

@ -6,7 +6,7 @@
/* By: ycontre <ycontre@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/13 16:16:24 by TheRed #+# #+# */
/* Updated: 2025/01/28 15:15:53 by tomoron ### ########.fr */
/* Updated: 2025/02/04 00:42:01 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
@ -161,7 +161,7 @@ void Window::pollEvents()
}
bool Window::shouldClose()
{
return glfwWindowShouldClose(_window);
return glfwWindowShouldClose(_window) || _renderer->shouldClose();
}
void Window::rendererUpdate(Shader &shader)