diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-28 15:21:21 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-28 15:21:21 +0100 |
commit | c0264d533fc95639c8eeb570d131746f67d64fe9 (patch) | |
tree | a8e65f808c8c88060a3e22a130c8963e546619de /src/ft_draw_skybox.c | |
parent | removed bloat (diff) | |
download | 42-cub3d-c0264d533fc95639c8eeb570d131746f67d64fe9.tar.gz 42-cub3d-c0264d533fc95639c8eeb570d131746f67d64fe9.tar.bz2 42-cub3d-c0264d533fc95639c8eeb570d131746f67d64fe9.tar.xz 42-cub3d-c0264d533fc95639c8eeb570d131746f67d64fe9.tar.zst 42-cub3d-c0264d533fc95639c8eeb570d131746f67d64fe9.zip |
Removed skybox related bloat
Diffstat (limited to '')
-rw-r--r-- | src/ft_draw_skybox.c | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/ft_draw_skybox.c b/src/ft_draw_skybox.c deleted file mode 100644 index a446485..0000000 --- a/src/ft_draw_skybox.c +++ /dev/null @@ -1,38 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* ft_draw_skybox.c :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2020/02/14 17:22:57 by rbousset #+# #+# */ -/* Updated: 2020/02/14 17:23:42 by rbousset ### ########lyon.fr */ -/* */ -/* ************************************************************************** */ - -#include <cub3d.h> -#include <mlx.h> - -void - ft_draw_skybox(t_cub *cl) -{ - int offset; - - offset = 640; - if (cl->plist.dir_x > 0) - offset = -offset; - mlx_put_image_to_window(cl->wlist.wlx, cl->wlist.winptr, - cl->tlist[7].img, offset * cl->plist.dir_y, -125); - mlx_put_image_to_window(cl->wlist.wlx, cl->wlist.winptr, - cl->tlist[7].img, offset * cl->plist.dir_y, -125); - mlx_put_image_to_window(cl->wlist.wlx, cl->wlist.winptr, - cl->tlist[7].img, offset * cl->plist.dir_y, -125); - mlx_put_image_to_window(cl->wlist.wlx, cl->wlist.winptr, - cl->tlist[7].img, offset * cl->plist.dir_y, -125); - mlx_put_image_to_window(cl->wlist.wlx, cl->wlist.winptr, - cl->tlist[7].img, offset * cl->plist.dir_y, -125); - mlx_put_image_to_window(cl->wlist.wlx, cl->wlist.winptr, - cl->tlist[7].img, offset * cl->plist.dir_y, -125); - mlx_put_image_to_window(cl->wlist.wlx, cl->wlist.winptr, - cl->tlist[7].img, offset * cl->plist.dir_y, -125); -} |