aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_floor_cast.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-11 12:38:21 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-11 12:38:21 +0100
commitb236416db21d03f7749e1c80d5b7abee70ea07d5 (patch)
tree69d7ddceef69415ec70bf383f1365552b8b8c7e1 /src/ft_floor_cast.c
parentPerfect collision on them traps (diff)
download42-cub3d-b236416db21d03f7749e1c80d5b7abee70ea07d5.tar.gz
42-cub3d-b236416db21d03f7749e1c80d5b7abee70ea07d5.tar.bz2
42-cub3d-b236416db21d03f7749e1c80d5b7abee70ea07d5.tar.xz
42-cub3d-b236416db21d03f7749e1c80d5b7abee70ea07d5.tar.zst
42-cub3d-b236416db21d03f7749e1c80d5b7abee70ea07d5.zip
Pretty cool animation
Diffstat (limited to '')
-rw-r--r--src/ft_floor_cast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_floor_cast.c b/src/ft_floor_cast.c
index b6c7e72..2eda9d8 100644
--- a/src/ft_floor_cast.c
+++ b/src/ft_floor_cast.c
@@ -17,7 +17,7 @@ static void
ft_draw_plain_horizontal(t_rgb rgb, t_cub *cl, int32_t y, int32_t x)
{
*(int*)(cl->img.ptr +
- (x * 4 + (y * cl->img.sizeline))) = ft_darken(rgb, cl);
+ (x * 4 + (y * cl->img.sizeline))) = ft_darken(rgb, cl);
}
static void