diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-02 14:38:20 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-02 14:38:20 +0200 |
commit | af3d4799702da402d224d2d22697b30790e1639d (patch) | |
tree | c0aeb7d17100b958ab23c123fd5adc3a5ffa9eb1 /src/ft_init_s_ray.c | |
parent | Correct ray dir (diff) | |
download | 42-cub3d-af3d4799702da402d224d2d22697b30790e1639d.tar.gz 42-cub3d-af3d4799702da402d224d2d22697b30790e1639d.tar.bz2 42-cub3d-af3d4799702da402d224d2d22697b30790e1639d.tar.xz 42-cub3d-af3d4799702da402d224d2d22697b30790e1639d.tar.zst 42-cub3d-af3d4799702da402d224d2d22697b30790e1639d.zip |
Correct ray_pos
Diffstat (limited to 'src/ft_init_s_ray.c')
-rw-r--r-- | src/ft_init_s_ray.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_init_s_ray.c b/src/ft_init_s_ray.c index a79ec10..ed68cd6 100644 --- a/src/ft_init_s_ray.c +++ b/src/ft_init_s_ray.c @@ -23,8 +23,8 @@ 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_pos = 0; rl.y_ray_dir = 0; rl.x_ray_dir = 0; rl.x_side_dist = 0; |