Wall orientation and see through wall

This commit is contained in:
Angel Ortigosa Perez
2026-01-25 15:58:40 +01:00
parent ccde6227cb
commit bec53b6484
155 changed files with 55 additions and 37 deletions

11
includes/cub3d.h Normal file → Executable file
View File

@@ -6,7 +6,7 @@
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/11/25 19:47:02 by aortigos #+# #+# */
/* Updated: 2026/01/25 14:30:55 by aortigos ### ########.fr */
/* Updated: 2026/01/25 15:48:40 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
@@ -26,12 +26,13 @@
# include "../lib/gnl/get_next_line.h"
# define S_W 1900
# define S_H 1000
# define WALL_SIZE 30
# define S_W 1920
# define S_H 1080
# define WALL_SIZE 64
# define FOV 60
# define ROTATION_SPEED 0.045
# define PLAYER_SPEED 3
# define PLAYER_SPEED 6
# define COLLISION_MARGIN 1
# define ERR_INV_COP "Error: invalid argument\n"
# define ERR_INV_FILE "Error: invalid file\n"