diff options
Diffstat (limited to 'src/ft_extra_keys.c')
-rw-r--r-- | src/ft_extra_keys.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ft_extra_keys.c b/src/ft_extra_keys.c index 79c0ed2..ebcaf48 100644 --- a/src/ft_extra_keys.c +++ b/src/ft_extra_keys.c @@ -13,7 +13,6 @@ #include <cub3d.h> #include <stdint.h> #include <math.h> -#include <stdio.h> int ft_left_key(t_cub *clist) @@ -30,8 +29,6 @@ int sav_plane_x = pl->plane_x; pl->plane_x = pl->plane_x * cos(rot_speed) - pl->plane_y * sin(rot_speed); pl->plane_y = sav_plane_x * sin(rot_speed) + pl->plane_y * cos(rot_speed); - printf("dir_x> %f\n", pl->dir_x); - printf("dir_y> %f\n", pl->dir_y); return (0); } @@ -50,8 +47,6 @@ int sav_plane_x = pl->plane_x; pl->plane_x = pl->plane_x * cos(-rot_speed) - pl->plane_y * sin(-rot_speed); pl->plane_y = sav_plane_x * sin(-rot_speed) + pl->plane_y * cos(-rot_speed); - printf("dir_x> %f\n", pl->dir_x); - printf("dir_y> %f\n", pl->dir_y); return (0); } |