Merge branch 'hugo'

This commit is contained in:
hugogogo
2022-04-28 20:30:17 +02:00
9 changed files with 123 additions and 66 deletions

View File

@@ -32,13 +32,13 @@ typedef struct s_vec
typedef struct s_rcast
{
t_vec screen_dist;
t_vec screen_size;
t_vec ray;
t_vec wall;
int wall_height;
int hor;
int screen_width;
int screen_height;
int screen_dist;
int cell;
int cell_x;
int cell_y;
@@ -56,6 +56,7 @@ typedef struct s_rcast
int ray_step_y;
int is_x;
int ray_nb;
int ray_len;
double ratio;
} t_rcast;