Renderer now prints status to standard output when in headless mode

This commit is contained in:
2025-02-04 23:44:23 +01:00
parent 85b7b58bed
commit 4137e04b46
4 changed files with 58 additions and 20 deletions

View File

@ -6,7 +6,7 @@
/* By: ycontre <ycontre@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/27 14:52:10 by TheRed #+# #+# */
/* Updated: 2025/02/04 01:10:20 by tomoron ### ########.fr */
/* Updated: 2025/02/04 23:39:14 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
@ -34,6 +34,7 @@
# include <algorithm>
# include <string.h>
# include <iostream>
# include <iomanip>
# include <fstream>
# include <sstream>
# include <chrono>

View File

@ -6,7 +6,7 @@
/* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/01/22 16:29:26 by tomoron #+# #+# */
/* Updated: 2025/02/04 21:56:58 by tomoron ### ########.fr */
/* Updated: 2025/02/04 23:19:37 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
@ -53,7 +53,7 @@ class Renderer
void addImageToRender(Shader &shader);
void endRender(void);
void imguiPathCreation(void);
void imguiRenderInfo(void);
void showRenderInfo(int isImgui);
void imguiRenderSettings(void);
std::string floatToTime(double timef);
glm::vec2 bezierSphereInterpolate(glm::vec4 control, glm::vec2 from, glm::vec2 to, float time);