wip debug ray length

This commit is contained in:
hugogogo
2022-04-28 00:44:02 +02:00
parent a0f32dee98
commit 3501a20abb
4 changed files with 102 additions and 19 deletions

View File

@@ -32,6 +32,7 @@ typedef struct s_vec
typedef struct s_rcast
{
int tmp;
t_vec screen_dist;
t_vec screen_size;
t_vec ray;
@@ -56,6 +57,7 @@ typedef struct s_rcast
int ray_step_y;
int is_x;
int ray_nb;
int ray_len;
double ratio;
} t_rcast;