From 25247ca1f3ffc9485b02686f616c41a52f8eb82a Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 11 Mar 2020 00:00:07 +0100 Subject: Pas trop ecole opti memoire mais ok --- inc/cub3d.h | 2 +- inc/cub3d_structs.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'inc') diff --git a/inc/cub3d.h b/inc/cub3d.h index 7de1df7..2a9d66e 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -130,7 +130,7 @@ uint8_t ft_use_args(int argc, const char *argv[], void ft_castray(t_cub *cl); void ft_detect(t_cub *cl); -void ft_floor_cast(uint16_t y, t_cub *cl); +void ft_floor_cast(t_cub *cl); /* ** ====== OTHER ====== diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index f1dfdfc..144de6f 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -137,6 +137,7 @@ typedef struct s_ray float y_delta_dist; int16_t wall_t; int16_t wall_b; + int16_t *wall_bz; uint8_t side; size_t sqx; size_t sqy; -- cgit v1.2.3