From 4ec2fd62b92b6d1271ae0519920ffcac23508136 Mon Sep 17 00:00:00 2001 From: Joppe Boeve Date: Thu, 25 Jan 2024 13:05:43 +0100 Subject: [PATCH] Change fov back to 0.85 --- include/meta.h | 5 ++--- src/game/player.c | 2 +- src/renderer/pixel_picker.c | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/include/meta.h b/include/meta.h index a6a0ddc..2e1ef4b 100644 --- a/include/meta.h +++ b/include/meta.h @@ -6,7 +6,7 @@ /* By: jboeve +#+ */ /* +#+ */ /* Created: 2023/11/01 20:07:37 by jboeve#+##+# */ -/* Updated: 2024/01/25 00:28:17 by joppe ######## odam.nl */ +/* Updated: 2024/01/25 12:34:26 by jboeve ######## odam.nl */ /**/ /* ************************************************************************** */ @@ -82,8 +82,7 @@ #define VIEWPORT_COLOR_WALL_NS 0x4B0082FF #define VIEWPORT_COLOR_WALL_EW 0x8A30E2FF -#define FOV M_PI / 4 -// #define FOV 0.85 +#define FOV 0.85 typedef bool (t_ray_hitfunc) (const void *p, uint32_t x, uint32_t y); diff --git a/src/game/player.c b/src/game/player.c index 9d6339a..b3fcb83 100644 --- a/src/game/player.c +++ b/src/game/player.c @@ -6,7 +6,7 @@ /* By: yzaim +#+ */ /* +#+ */ /* Created: 2024/01/08 15:27:23 by yzaim #+# #+# */ -/* Updated: 2024/01/24 18:21:22 by jboeve ######## odam.nl */ +/* Updated: 2024/01/25 12:49:14 by jboeve ######## odam.nl */ /* */ /* ************************************************************************** */ diff --git a/src/renderer/pixel_picker.c b/src/renderer/pixel_picker.c index ad88f25..3058093 100644 --- a/src/renderer/pixel_picker.c +++ b/src/renderer/pixel_picker.c @@ -1,12 +1,12 @@ /* ************************************************************************** */ /* */ /* :::::::: */ -/* pixel_picker.c :+: :+: */ +/* pixel_picker.c :+: :+: */ /* +:+ */ /* By: yzaim +#+ */ /* +#+ */ /* Created: 2024/01/08 15:26:51 by yzaim #+# #+# */ -/* Updated: 2024/01/24 16:46:58 by yzaim ######## odam.nl */ +/* Updated: 2024/01/25 13:03:21 by jboeve ######## odam.nl */ /* */ /* ************************************************************************** */