From 14d4e44cb54758a2e9c045bddbe74479adef9f1d Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Fri, 20 Mar 2020 20:30:35 +0100 Subject: R E A L I S T I C S H O O T I N G --- src/ft_detect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ft_detect.c') 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 #include -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 * -- cgit v1.2.3