diff options
author | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-02-17 17:21:29 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-02-17 17:21:29 +0100 |
commit | fe33cb60b2355745237b49ecc969b86d2ea9101b (patch) | |
tree | daf91b320d82d420e78a9e6f6475a161df082ca6 /src/ft_tex_init.c | |
parent | Norme (diff) | |
download | 42-cub3d-fe33cb60b2355745237b49ecc969b86d2ea9101b.tar.gz 42-cub3d-fe33cb60b2355745237b49ecc969b86d2ea9101b.tar.bz2 42-cub3d-fe33cb60b2355745237b49ecc969b86d2ea9101b.tar.xz 42-cub3d-fe33cb60b2355745237b49ecc969b86d2ea9101b.tar.zst 42-cub3d-fe33cb60b2355745237b49ecc969b86d2ea9101b.zip |
Collision bav
Diffstat (limited to '')
-rw-r--r-- | src/ft_tex_init.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/ft_tex_init.c b/src/ft_tex_init.c index 166f431..724877f 100644 --- a/src/ft_tex_init.c +++ b/src/ft_tex_init.c @@ -23,15 +23,6 @@ ** 4 : sprite */ -void ft_puttex(t_cub *cl) -{ - int i; - - i = 0; - while (i < cl->tlist[0].img_w) - i += 4; -} - void ft_wall_tex_init(t_cub *cl) { cl->tlist[0].img = mlx_xpm_file_to_image(cl->wlist->wlx, @@ -54,5 +45,4 @@ void ft_wall_tex_init(t_cub *cl) cl->mlist->sprite_path, &cl->tlist[4].img_w, &cl->tlist[4].img_h); cl->tlist[4].ptr = mlx_get_data_addr(cl->tlist[4].img, &cl->tlist[4].bpp, &cl->tlist[4].sizeline, &cl->tlist[4].endian); - ft_puttex(cl); } |