From de7d432e18f4363e73b11f23885d7afd002a99f0 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 8 Mar 2020 02:47:01 +0100 Subject: I'm close af --- inc/cub3d_structs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'inc/cub3d_structs.h') diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index d59c25e..b8a61ac 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -135,8 +135,8 @@ typedef struct s_ray float y_side_dist; float x_delta_dist; float y_delta_dist; - float floor_x; - float floor_y; + double floor_x_wall; + double floor_y_wall; int16_t cell_x; int16_t cell_y; int16_t wall_t; @@ -202,7 +202,7 @@ typedef struct s_cub struct s_img img; struct s_rgb f_rgb; struct s_rgb c_rgb; - struct s_img tlist[6]; + struct s_img tlist[7]; struct s_sprite sp_list; } t_cub; -- cgit v1.2.3