possibility to choose angle of view
This commit is contained in:
@@ -5,7 +5,7 @@ void raycast(t_game *game, t_rcast *rcast)
|
||||
t_vec ray;
|
||||
|
||||
rcast->ray_nb = 0;
|
||||
while (rcast->ray_nb <= SCREEN_DEF)
|
||||
while (rcast->ray_nb <= rcast->screen_def)
|
||||
{
|
||||
ray_intersect(game, rcast, &ray);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user