feat: made 3d... for the cub3d

This commit is contained in:
Theo Champion 2025-07-30 16:25:12 +02:00
parent 077659cd25
commit 5281fe6abd
8 changed files with 185 additions and 5 deletions

View file

@ -6,7 +6,7 @@
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/07/17 14:59:37 by kcolin #+# #+# */
/* Updated: 2025/07/29 13:43:40 by tchampio ### ########.fr */
/* Updated: 2025/07/30 16:07:36 by tchampio ### ########.fr */
/* */
/* ************************************************************************** */
@ -17,6 +17,7 @@
# include "draw/img_data.h"
# include "player/player.h"
# include "utils/keypresses.h"
# include "consts.h"
typedef struct s_cub3d_data
{
@ -26,6 +27,7 @@ typedef struct s_cub3d_data
t_mapdata *map;
t_player player;
t_keypresses keypresses;
int screen_matrix[HEIGHT][WIDTH];
} t_cub3d_data;
#endif // CUB3D_DATA_H