aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_raycasting.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-17 17:21:29 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-17 17:21:29 +0100
commitfe33cb60b2355745237b49ecc969b86d2ea9101b (patch)
treedaf91b320d82d420e78a9e6f6475a161df082ca6 /src/ft_raycasting.c
parentNorme (diff)
download42-cub3d-fe33cb60b2355745237b49ecc969b86d2ea9101b.tar.gz
42-cub3d-fe33cb60b2355745237b49ecc969b86d2ea9101b.tar.bz2
42-cub3d-fe33cb60b2355745237b49ecc969b86d2ea9101b.tar.xz
42-cub3d-fe33cb60b2355745237b49ecc969b86d2ea9101b.tar.zst
42-cub3d-fe33cb60b2355745237b49ecc969b86d2ea9101b.zip
Collision bav
Diffstat (limited to '')
-rw-r--r--src/ft_raycasting.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ft_raycasting.c b/src/ft_raycasting.c
index 98f1c81..e1d3223 100644
--- a/src/ft_raycasting.c
+++ b/src/ft_raycasting.c
@@ -12,7 +12,6 @@
#include <cub3d.h>
#include <stdint.h>
-#include <stdio.h>
void
ft_calc_tex(t_cub *clist)
@@ -71,7 +70,6 @@ void
cl->rlist.wall_b = wl->y_size - 1;
ft_choose_tex(cl);
ft_calc_tex(cl);
- printf("%f\n", cl->rlist.wall_hit_x);
ft_draw_verline(cl, i, cl->rlist.wall_t - 1, cl->rlist.wall_b);
i++;
}