diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2020-02-20 03:37:05 +0100 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2020-02-20 03:37:05 +0100 |
commit | 31b823d11a48c7d425b0432a1a53a378bb5239f3 (patch) | |
tree | 1f8c98a20cc175cbc590829862261a1a3e93ec62 /src/ft_raycasting.c | |
parent | asdasdasd :^) (diff) | |
download | 42-cub3d-31b823d11a48c7d425b0432a1a53a378bb5239f3.tar.gz 42-cub3d-31b823d11a48c7d425b0432a1a53a378bb5239f3.tar.bz2 42-cub3d-31b823d11a48c7d425b0432a1a53a378bb5239f3.tar.xz 42-cub3d-31b823d11a48c7d425b0432a1a53a378bb5239f3.tar.zst 42-cub3d-31b823d11a48c7d425b0432a1a53a378bb5239f3.zip |
:^))))))))))))))))))))))))))))
Diffstat (limited to 'src/ft_raycasting.c')
-rw-r--r-- | src/ft_raycasting.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ft_raycasting.c b/src/ft_raycasting.c index 394d6dc..1ad16e1 100644 --- a/src/ft_raycasting.c +++ b/src/ft_raycasting.c @@ -13,6 +13,7 @@ #include <libft.h> #include <cub3d.h> #include <stdint.h> +#include <stdio.h> #include <math.h> void @@ -33,6 +34,7 @@ void if (clist->rlist.side == 1 && clist->rlist.y_ray_dir < 0) clist->tlist[clist->w_side].tex_x = clist->tlist[clist->w_side].img_w - clist->tlist[clist->w_side].tex_x - 1; + printf("dir :%f\ntex_x : %d\n", clist->rlist.y_ray_dir, clist->tlist[clist->w_side].tex_x); } static void |