diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-02 14:35:55 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-02 14:35:55 +0200 |
commit | 20e9cfd5bf432b0e68b4e2fd3b721f1fcea8c839 (patch) | |
tree | afea14915414c45325b9f0e4d8f64ee35935d101 /src/ft_init_s_ray.c | |
parent | Correct dir_x dir_y sqy sqx (diff) | |
download | 42-cub3d-20e9cfd5bf432b0e68b4e2fd3b721f1fcea8c839.tar.gz 42-cub3d-20e9cfd5bf432b0e68b4e2fd3b721f1fcea8c839.tar.bz2 42-cub3d-20e9cfd5bf432b0e68b4e2fd3b721f1fcea8c839.tar.xz 42-cub3d-20e9cfd5bf432b0e68b4e2fd3b721f1fcea8c839.tar.zst 42-cub3d-20e9cfd5bf432b0e68b4e2fd3b721f1fcea8c839.zip |
Correct ray dir
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 d13f17d..a79ec10 100644 --- a/src/ft_init_s_ray.c +++ b/src/ft_init_s_ray.c @@ -25,8 +25,8 @@ t_ray rl.wall_b = 0; rl.x_ray_pos = 0; rl.y_ray_pos = 0; - rl.x_ray_dir = 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; |