aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ft_draw_scene.c2
-rw-r--r--src/ft_extra_keys.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ft_draw_scene.c b/src/ft_draw_scene.c
index 966d357..ec2cc89 100644
--- a/src/ft_draw_scene.c
+++ b/src/ft_draw_scene.c
@@ -18,7 +18,7 @@
void
ft_draw_scene(t_cub *clist)
{
- /* mlx_clear_window(clist->wlist->wlx, clist->wlist->winptr); */
+ mlx_clear_window(clist->wlist->wlx, clist->wlist->winptr);
clist->img.img = mlx_new_image(clist->wlist->wlx,
clist->wlist->x_size, clist->wlist->y_size);
clist->img.ptr = mlx_get_data_addr(clist->img.img, &clist->img.bpp,
diff --git a/src/ft_extra_keys.c b/src/ft_extra_keys.c
index ebcaf48..bfa8386 100644
--- a/src/ft_extra_keys.c
+++ b/src/ft_extra_keys.c
@@ -20,7 +20,7 @@ int
t_player *pl;
float sav_dir_x;
float sav_plane_x;
- const float rot_speed = 0.08;
+ const float rot_speed = 0.07;
pl = clist->plist;
sav_dir_x = pl->dir_x;
@@ -38,7 +38,7 @@ int
t_player *pl;
float sav_dir_x;
float sav_plane_x;
- const float rot_speed = 0.08;
+ const float rot_speed = 0.07;
pl = clist->plist;
sav_dir_x = pl->dir_x;