diff options
author | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-18 18:56:29 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-18 18:56:29 +0100 |
commit | 58cbc0ad097a865ecf506f85cdce9f4211575a3c (patch) | |
tree | a7a27094b7b0edfbab4dfcc60d829fd134d49ece /src | |
parent | Added new map (diff) | |
download | 42-cub3d-58cbc0ad097a865ecf506f85cdce9f4211575a3c.tar.gz 42-cub3d-58cbc0ad097a865ecf506f85cdce9f4211575a3c.tar.bz2 42-cub3d-58cbc0ad097a865ecf506f85cdce9f4211575a3c.tar.xz 42-cub3d-58cbc0ad097a865ecf506f85cdce9f4211575a3c.tar.zst 42-cub3d-58cbc0ad097a865ecf506f85cdce9f4211575a3c.zip |
Tweaks
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); } |