diff options
author | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2020-03-08 15:28:26 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2020-03-08 15:28:26 +0100 |
commit | 3205176d60f52ce487c3e3c5efaa89e15b9dd5ca (patch) | |
tree | 4a41010a24a01be60eb11a77e3556d7643b67769 /src/ft_darken_rgb.c | |
parent | Norme iksde (diff) | |
download | 42-cub3d-3205176d60f52ce487c3e3c5efaa89e15b9dd5ca.tar.gz 42-cub3d-3205176d60f52ce487c3e3c5efaa89e15b9dd5ca.tar.bz2 42-cub3d-3205176d60f52ce487c3e3c5efaa89e15b9dd5ca.tar.xz 42-cub3d-3205176d60f52ce487c3e3c5efaa89e15b9dd5ca.tar.zst 42-cub3d-3205176d60f52ce487c3e3c5efaa89e15b9dd5ca.zip |
Normed
Diffstat (limited to 'src/ft_darken_rgb.c')
-rw-r--r-- | src/ft_darken_rgb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ft_darken_rgb.c b/src/ft_darken_rgb.c index 90188b4..434fcf8 100644 --- a/src/ft_darken_rgb.c +++ b/src/ft_darken_rgb.c @@ -13,7 +13,6 @@ #include <cub3d.h> #include <stdint.h> -#include <stdio.h> uint32_t ft_darken_ceil(t_rgb rgb, int32_t y, t_cub *cl) { @@ -39,7 +38,6 @@ uint32_t /* calc = ((float)(y + (75000.0 / cl->wlist.y_size)) */ /* / (cl->wlist.y_size / 2)) - 1.0; */ /* calc = (calc < 0) ? (0) : (calc); */ - printf("%f\n", dist); (void)cl; calc = (dist * 0.4); calc = (calc >= 255) ? (255) : (calc); |