diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ft_init_lists.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c index 90b8638..b8d7c7c 100644 --- a/src/ft_init_lists.c +++ b/src/ft_init_lists.c @@ -16,6 +16,7 @@ #include <stddef.h> #include <stdlib.h> #include <limits.h> +#include <math.h> static t_rgb ft_init_rgb(void) @@ -41,7 +42,7 @@ static t_player plist->dir_x = -1; plist->dir_y = 0; plist->plane_x = 0; - plist->plane_y = 0.66; + plist->plane_y = 0.66666666; return (plist); } |