diff options
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r-- | inc/cub3d_structs.h | 6 |
1 files changed, 3 insertions, 3 deletions
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; |