diff options
Diffstat (limited to 'src/ft_init_s_ray.c')
-rw-r--r-- | src/ft_init_s_ray.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ft_init_s_ray.c b/src/ft_init_s_ray.c index 0d4ba96..ed68cd6 100644 --- a/src/ft_init_s_ray.c +++ b/src/ft_init_s_ray.c @@ -23,17 +23,17 @@ t_ray rl.wall_dist = 0; rl.wall_t = 0; rl.wall_b = 0; - rl.x_ray_pos = 0; rl.y_ray_pos = 0; - rl.x_ray_dir = 0; + rl.x_ray_pos = 0; rl.y_ray_dir = 0; + rl.x_ray_dir = 0; rl.x_side_dist = 0; rl.y_side_dist = 0; rl.x_delta_dist = 0; rl.y_delta_dist = 0; rl.side = 0; - rl.sqx = 0; rl.sqy = 0; + rl.sqx = 0; rl.hit = 0; return (rl); } |