wall grows proportionally

This commit is contained in:
hugogogo
2022-04-25 09:13:10 +02:00
parent 03f61d989b
commit 0d9e5879c0
4 changed files with 25 additions and 16 deletions

View File

@@ -36,6 +36,7 @@ typedef struct s_rcast
t_vec screen_size;
t_vec ray;
t_vec wall;
int wall_height;
int screen_width;
int screen_height;
int cell;