change: adapt to cluster screen size

This commit is contained in:
mcolonna 2024-11-22 12:12:55 +01:00
parent da5f45a32e
commit 607302bebb

View file

@ -6,7 +6,7 @@
/* By: mcolonna <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/31 17:00:59 by mcolonna #+# #+# */
/* Updated: 2024/11/19 15:29:31 by mcolonna ### ########.fr */
/* Updated: 2024/11/22 12:11:11 by mcolonna ### ########.fr */
/* */
/* ************************************************************************** */
@ -23,7 +23,7 @@
# define MOVE_SPEED 0.1 // Player oves by N cases by tick
# define ROT_SPEED_DIVIDE_PI 32 // Player turns by pi/N rad by tick
# define MOUSE_ROTATION_SPEED 0.001 // Rotation speed from mouse: rad/px
# define MOUSE_ROTATION_SPEED 0.0005 // Rotation speed from mouse: rad/px
# define HITBOX 0.25 // Hitbox of N cases around player.
# ifdef BONUS
@ -31,8 +31,8 @@
# else
# define WINDOW_NAME "cub3d (mandatory)"
# endif
# define SCREEN_WIDTH 640 // Width of the window
# define SCREEN_HEIGHT 480 // Height of the window
# define SCREEN_WIDTH 1280 // Width of the window
# define SCREEN_HEIGHT 960 // Height of the window
# define FOV 0.66 // Width of the view plane (unit: cases)