intra to gitea

This commit is contained in:
root
2025-11-15 22:16:13 +00:00
parent 0c0d28ab36
commit 50b45e597f
27 changed files with 888 additions and 624 deletions
-3
View File
@@ -14,12 +14,9 @@
int game_loop(t_game *g)
{
/* 1) Update joueur selon input */
player_update(g);
/* 2) Dessin */
draw_background(g);
raycast_frame(g);
mlx_put_image_to_window(g->gfx.mlx, g->gfx.win, g->gfx.frame.ptr, 0, 0);
return (0);
}
/* Note: on pourrait optimiser en ne redessinant que ce qui change */