Skip to content

Commit

Permalink
Removed prints
Browse files Browse the repository at this point in the history
  • Loading branch information
Joppe Boeve committed Jan 17, 2024
1 parent 95eda53 commit 957b873
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 5 additions & 5 deletions src/game/render_viewport.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: yzaim <[email protected]> +#+ */
/* +#+ */
/* 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 */
/* */
/* ************************************************************************** */

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 957b873

Please sign in to comment.