possibility to choose angle of view

This commit is contained in:
hugogogo
2022-04-23 11:58:11 +02:00
parent fac1f78230
commit e9b0dd7ec9
9 changed files with 72 additions and 48 deletions

View File

@@ -35,6 +35,8 @@ typedef struct s_rcast
t_vec screen_dist;
t_vec screen_size;
t_vec ray;
int screen_def;
int cell;
int cell_x;
int cell_y;
int slope_x;
@@ -84,6 +86,7 @@ typedef struct s_map
char **content;
int size_x;
int size_y;
int cell;
} t_map;
/*