diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-23 18:48:21 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-23 18:48:21 +0100 |
commit | 093e84b76c597015e89dddae8e51faae16feaf62 (patch) | |
tree | 66587b79153af48fb2aa8729ba8ca2c8d2d011e1 /src/ft_detect.c | |
parent | Fixed sprite shadows (diff) | |
parent | Gonna merge (diff) | |
download | 42-cub3d-093e84b76c597015e89dddae8e51faae16feaf62.tar.gz 42-cub3d-093e84b76c597015e89dddae8e51faae16feaf62.tar.bz2 42-cub3d-093e84b76c597015e89dddae8e51faae16feaf62.tar.xz 42-cub3d-093e84b76c597015e89dddae8e51faae16feaf62.tar.zst 42-cub3d-093e84b76c597015e89dddae8e51faae16feaf62.zip |
Merge branch 'hitscan'
Diffstat (limited to '')
-rw-r--r-- | src/ft_detect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_detect.c b/src/ft_detect.c index 7ec0473..0ef8831 100644 --- a/src/ft_detect.c +++ b/src/ft_detect.c @@ -14,7 +14,7 @@ #include <cub3d.h> #include <math.h> -static void +void ft_detection_init_y(t_cub *cl) { cl->rlist.y_delta_dist = sqrt(1 + (cl->rlist.x_ray_dir * @@ -34,7 +34,7 @@ static void } } -static void +void ft_detection_init_x(t_cub *cl) { cl->rlist.x_delta_dist = sqrt(1 + (cl->rlist.y_ray_dir * |