aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_s_ray.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-02 14:24:57 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-02 14:24:57 +0200
commit8a695d62dcb9b8783918263f962b986df20310f2 (patch)
tree37e3c4e286abcec481bbc8169c7297e1ec07b578 /src/ft_init_s_ray.c
parentLater (diff)
download42-cub3d-8a695d62dcb9b8783918263f962b986df20310f2.tar.gz
42-cub3d-8a695d62dcb9b8783918263f962b986df20310f2.tar.bz2
42-cub3d-8a695d62dcb9b8783918263f962b986df20310f2.tar.xz
42-cub3d-8a695d62dcb9b8783918263f962b986df20310f2.tar.zst
42-cub3d-8a695d62dcb9b8783918263f962b986df20310f2.zip
Correct dir_x dir_y sqy sqx
Diffstat (limited to '')
-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 0d4ba96..d13f17d 100644
--- a/src/ft_init_s_ray.c
+++ b/src/ft_init_s_ray.c
@@ -32,8 +32,8 @@ t_ray
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);
}