aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_s_ray.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-02 14:35:55 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-02 14:35:55 +0200
commit20e9cfd5bf432b0e68b4e2fd3b721f1fcea8c839 (patch)
treeafea14915414c45325b9f0e4d8f64ee35935d101 /src/ft_init_s_ray.c
parentCorrect dir_x dir_y sqy sqx (diff)
download42-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.c2
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;