rays verticals and horizontals are working

This commit is contained in:
hugogogo
2022-04-28 08:52:21 +02:00
parent 3501a20abb
commit 4f0e5fcd00
3 changed files with 51 additions and 20 deletions

View File

@@ -32,11 +32,11 @@ typedef struct s_vec
typedef struct s_rcast
{
int tmp;
t_vec screen_dist;
t_vec screen_size;
t_vec ray;
t_vec wall;
int tmp;
int wall_height;
int screen_width;
int screen_height;