game view, but wrong :p

This commit is contained in:
hugogogo
2022-04-24 21:28:50 +02:00
parent c886118bd6
commit c52f04d9c8
7 changed files with 76 additions and 45 deletions

View File

@@ -3,7 +3,6 @@
static void init_raycast(t_rcast *rcast, t_vec *ray)
{
rcast->is_x = 0;
rcast->wall_height = 0;
// ray sign
rcast->ray_sign_x = 1;
if (ray->start.x < ray->end.x)