feat: adding the visualisation of the raycating but crashed

This commit is contained in:
Raphael 2024-11-22 22:02:57 +01:00
parent 6cee3288cf
commit bcdeec3271
2 changed files with 23 additions and 27 deletions

View file

@ -26,7 +26,7 @@ CFLAGS += -g3 -MMD
# CFLAGS += -fsanitize=address # CFLAGS += -fsanitize=address
# CFLAGS += -fsanitize=thread # CFLAGS += -fsanitize=thread
INCLUDES = -I /opt/X11/include -I ./includes -I ./includes/include -I ./minilibx-linux INCLUDES = -I /usr/include -I /opt/X11/include -I ./includes -I ./includes/include -I ./minilibx-linux
# Paths # Paths
LIBFT_DIR = ./libft LIBFT_DIR = ./libft

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */ /* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/12 12:24:35 by rparodi #+# #+# */ /* Created: 2024/11/12 12:24:35 by rparodi #+# #+# */
/* Updated: 2024/11/22 15:35:10 by rparodi ### ########.fr */ /* Updated: 2024/11/22 20:01:59 by rparodi ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -85,10 +85,6 @@ double cub_convert_deg_to_rad(double degrees)
} }
} }
/* ----------------------------------- */
/* Some utils for the mlx window view */
/* ----------------------------------- */
t_win_list *c3_init_mlx_window(t_info *info) t_win_list *c3_init_mlx_window(t_info *info)
{ {
void *window; void *window;