From 607302bebb0b9187404408c33591cbcb3c09c96a Mon Sep 17 00:00:00 2001 From: mcolonna Date: Fri, 22 Nov 2024 12:12:55 +0100 Subject: [PATCH] change: adapt to cluster screen size --- include/const.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/const.h b/include/const.h index 38fe110..ef82548 100644 --- a/include/const.h +++ b/include/const.h @@ -6,7 +6,7 @@ /* By: mcolonna +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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)