From bb1b197934bd9bcfa15d853dd99141d0edc1c16c Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Sun, 9 Feb 2020 18:24:54 +0100 Subject: Screenres ok --- src/ft_key_events.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ft_key_events.c') diff --git a/src/ft_key_events.c b/src/ft_key_events.c index 168d6c0..7955dc6 100644 --- a/src/ft_key_events.c +++ b/src/ft_key_events.c @@ -15,6 +15,7 @@ #include #include +#include static int ft_w_key(t_cub *clist) { @@ -29,6 +30,7 @@ static int pl->pos_y += 0.3; else if (pl->view_side == 4) pl->pos_x -= 0.3; + printf("PosX> %f\nPosY> %f\n", pl->pos_x, pl->pos_y); ft_drawmap(clist); return (0); } -- cgit v1.2.3