aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_darken_rgb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_darken_rgb.c')
-rw-r--r--src/ft_darken_rgb.c2
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);