diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-08 02:47:01 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-08 02:47:01 +0100 |
commit | de7d432e18f4363e73b11f23885d7afd002a99f0 (patch) | |
tree | b2321f6c77d19147892541b2de619681372beeb0 /inc/cub3d_structs.h | |
parent | Not great (diff) | |
download | 42-cub3d-de7d432e18f4363e73b11f23885d7afd002a99f0.tar.gz 42-cub3d-de7d432e18f4363e73b11f23885d7afd002a99f0.tar.bz2 42-cub3d-de7d432e18f4363e73b11f23885d7afd002a99f0.tar.xz 42-cub3d-de7d432e18f4363e73b11f23885d7afd002a99f0.tar.zst 42-cub3d-de7d432e18f4363e73b11f23885d7afd002a99f0.zip |
I'm close af
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; |