mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 18:48:36 +02:00
~ | Better fps handling
This commit is contained in:
@ -1,32 +0,0 @@
|
|||||||
/* ************************************************************************** */
|
|
||||||
/* */
|
|
||||||
/* ::: :::::::: */
|
|
||||||
/* sansnom.hpp :+: :+: :+: */
|
|
||||||
/* +:+ +:+ +:+ */
|
|
||||||
/* By: ycontre <ycontre@student.42.fr> +#+ +:+ +#+ */
|
|
||||||
/* +#+#+#+#+#+ +#+ */
|
|
||||||
/* Created: 2025/02/19 18:04:15 by ycontre #+# #+# */
|
|
||||||
/* Updated: 2025/02/19 18:19:47 by ycontre ### ########.fr */
|
|
||||||
/* */
|
|
||||||
/* ************************************************************************** */
|
|
||||||
|
|
||||||
#ifndef ashf
|
|
||||||
# define ashf
|
|
||||||
|
|
||||||
class RT
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
RT(Arguments &args, Window &window);
|
|
||||||
~RT();
|
|
||||||
|
|
||||||
private:
|
|
||||||
Window &window;
|
|
||||||
GLuint VAO;
|
|
||||||
std::vector<GLuint> &textures;
|
|
||||||
|
|
||||||
Scene *scene;
|
|
||||||
|
|
||||||
ShaderProgram raytracing_program;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif
|
|
Reference in New Issue
Block a user