diff --git a/Makefile b/Makefile index 8c230da..ff55b90 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ RUN_CMD := ./$(NAME) test_maps/valid_tex.cub # CFLAGS += -Wall -Wextra -Werror CFLAGS += -Wall -Wextra -CFLAGS += -g -fsanitize=address +# CFLAGS += -g -fsanitize=address # CFLAGS += -g # CFLAGS += -Ofast -flto -march=native diff --git a/src/game/render_viewport.c b/src/game/render_viewport.c index d5d1ab7..5c55e00 100644 --- a/src/game/render_viewport.c +++ b/src/game/render_viewport.c @@ -6,7 +6,7 @@ /* By: yzaim +#+ */ /* +#+ */ /* Created: 2024/01/08 15:28:08 by yzaim #+# #+# */ -/* Updated: 2024/01/17 16:22:52 by jboeve ######## odam.nl */ +/* Updated: 2024/01/17 16:29:48 by jboeve ######## odam.nl */ /* */ /* ************************************************************************** */ @@ -48,10 +48,10 @@ static void draw_column(t_meta *meta, t_vec2i line, t_ray *ray, uint32_t col, ui ray->texture_position = (ray->line_point.x + (ray->line_height - h) / 2) * ray->step; - printf("line_height [%lf]\n", ray->line_height); - printf("step [%lf]\n", ray->step); - printf("texture_point [%d]\n", ray->texture_point.x); - printf("texture_position [%lf]\n", ray->texture_position); + // printf("line_height [%lf]\n", ray->line_height); + // printf("step [%lf]\n", ray->step); + // printf("texture_point [%d]\n", ray->texture_point.x); + // printf("texture_position [%lf]\n", ray->texture_position); int32_t y; y = 0;