diff options
Diffstat (limited to '')
-rw-r--r-- | inc/cub3d_structs.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index ecbbaf3..d59c25e 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -122,22 +122,23 @@ typedef struct s_ray { uint16_t line_h; float wall_dist; + float row_dist; float x_ray_pos; float y_ray_pos; float x_ray_dir; float y_ray_dir; - float x_ray_dir_bis; - float y_ray_dir_bis; + float x_ray_dir_f; + float y_ray_dir_f; + float x_ray_dir_f_bis; + float y_ray_dir_f_bis; float x_side_dist; float y_side_dist; float x_delta_dist; float y_delta_dist; float floor_x; float floor_y; - int16_t ceil_x; - int16_t ceil_y; - float row_dist; - float ceil_dist; + int16_t cell_x; + int16_t cell_y; int16_t wall_t; int16_t wall_b; uint8_t side; |