mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 18:48:36 +02:00
clusterizer : server and client can now communicate
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: ycontre <ycontre@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/09/27 14:51:49 by TheRed #+# #+# */
|
||||
/* Updated: 2025/02/15 22:54:52 by tomoron ### ########.fr */
|
||||
/* Updated: 2025/02/21 18:17:33 by tomoron ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -28,6 +28,10 @@ int main(int argc, char **argv)
|
||||
if (args.error())
|
||||
return (1);
|
||||
|
||||
Clusterizer clusterizer(args);
|
||||
if (clusterizer.getError())
|
||||
return(1);
|
||||
|
||||
Scene scene(args.getSceneName());
|
||||
if (scene.fail())
|
||||
return (1);
|
||||
@ -67,6 +71,7 @@ int main(int argc, char **argv)
|
||||
|
||||
while (!window.shouldClose())
|
||||
{
|
||||
clusterizer.update();
|
||||
window.updateDeltaTime();
|
||||
|
||||
updateDataOnGPU(scene, buffers);
|
||||
|
Reference in New Issue
Block a user