aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_verline.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p1.le-101.fr>2020-03-08 17:11:26 +0100
committerRudy Bousset <rbousset@z2r4p1.le-101.fr>2020-03-08 17:11:26 +0100
commitb30087062bea536f713ac9cbdf304cb24fa0e844 (patch)
tree1b27fc1648cb5edcd50f8abc41fc902d828b233b /src/ft_draw_verline.c
parentAt least it compiles (diff)
download42-cub3d-b30087062bea536f713ac9cbdf304cb24fa0e844.tar.gz
42-cub3d-b30087062bea536f713ac9cbdf304cb24fa0e844.tar.bz2
42-cub3d-b30087062bea536f713ac9cbdf304cb24fa0e844.tar.xz
42-cub3d-b30087062bea536f713ac9cbdf304cb24fa0e844.tar.zst
42-cub3d-b30087062bea536f713ac9cbdf304cb24fa0e844.zip
Removed sceret door bonus because it is no door
Diffstat (limited to '')
-rw-r--r--src/ft_draw_verline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ft_draw_verline.c b/src/ft_draw_verline.c
index dd7697a..9abb73f 100644
--- a/src/ft_draw_verline.c
+++ b/src/ft_draw_verline.c
@@ -28,6 +28,7 @@ static void
cl->img.ptr[x * 4 + cl->wlist.x_size * y + 3] = (int8_t)0;
}
+#include <stdio.h>
static void
ft_draw_floor(t_cub *cl, int32_t y, int32_t x)
{
@@ -56,6 +57,7 @@ static void
? (cl->tlist[6].tex_x) : (-cl->tlist[6].tex_x);
cl->tlist[6].tex_y = (cl->tlist[6].tex_y > 0)
? (cl->tlist[6].tex_y) : (-cl->tlist[6].tex_y);
+ /* printf("tex_x %d | tex_y %d\n", cl->tlist[6].tex_x, cl->tlist[6].tex_y); */
ft_draw_floor_tex(cl, y, x, cl->tlist[6].tex_y);
/* *(int*)(cl->img.ptr + */
/* (x * 4 + (y * cl->img.sizeline))) */