diff options
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r-- | inc/cub3d_structs.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 9e19e2b..66686eb 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -47,14 +47,6 @@ typedef struct s_rgb int16_t b; } t_rgb; -/* -** player view_side: -** 1: North -** 2: East -** 3: South -** 4: West -*/ - typedef struct s_player { float pos_x; @@ -72,6 +64,7 @@ typedef struct s_ray { uint16_t line_h; float wall_dist; + float mid_dist; float x_ray_pos; float y_ray_pos; float x_ray_dir; |