aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_textures.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_draw_textures.c6
1 files changed, 4 insertions, 2 deletions
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)