From 558151cd594920e8322f53f382d88863a0fd6377 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 22 Mar 2020 14:47:59 +0100 Subject: Normed so far --- src/ft_draw_textures.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/ft_draw_textures.c') diff --git a/src/ft_draw_textures.c b/src/ft_draw_textures.c index dcd36e7..126d0af 100644 --- a/src/ft_draw_textures.c +++ b/src/ft_draw_textures.c @@ -22,7 +22,8 @@ ** 4 : sprite */ -void ft_draw_texture(t_cub *cl, int x, int y, int tex_y) +void + ft_draw_texture(t_cub *cl, int x, int y, int tex_y) { float dist; float calc; @@ -43,7 +44,8 @@ void ft_draw_texture(t_cub *cl, int x, int y, int tex_y) cl->tlist[cl->w_side].img_h * tex_y + 2] / calc; } -void ft_choose_tex(t_cub *clist) +void + ft_choose_tex(t_cub *clist) { if (clist->rlist.sqy == clist->mlist.nlx && clist->rlist.sqx == clist->mlist.nly) -- cgit v1.2.3