diff options
Diffstat (limited to 'src/ft_detect.c')
-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 * |