aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-26 14:15:26 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-26 14:15:26 +0100
commitd29165bbb95aef86aeb9d9d9668d035b4430769f (patch)
tree031f29761205f26b540782d42b692165d0ad3f2c /inc
parenttab (diff)
download42-cub3d-d29165bbb95aef86aeb9d9d9668d035b4430769f.tar.gz
42-cub3d-d29165bbb95aef86aeb9d9d9668d035b4430769f.tar.bz2
42-cub3d-d29165bbb95aef86aeb9d9d9668d035b4430769f.tar.xz
42-cub3d-d29165bbb95aef86aeb9d9d9668d035b4430769f.tar.zst
42-cub3d-d29165bbb95aef86aeb9d9d9668d035b4430769f.zip
Cool malloc
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index 92e57ce..b7f8a36 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -87,7 +87,7 @@ void ft_draw_circle(float a, float b,
int32_t color, t_cub *cl);
void ft_draw_verline(t_cub *cl, int32_t x, int32_t y, int32_t y2);
void ft_sprite_h_w(t_cub *cl, t_sprite *sprite);
-void ft_alloc_dist_tab(float ***dist_tab, t_cub *cl);
+float **ft_alloc_dist_tab(void);
void ft_sort_sprites(t_cub *cl, int16_t i, int16_t j);
void ft_sort_s_t(t_cub *cl, float **dist_tab);
void ft_calc_sprite(t_cub *cl);