diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-25 19:27:47 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-25 19:27:47 +0100 |
commit | 94c06bc705b8598eb9ce30514f14f583f2538de8 (patch) | |
tree | 44175b996a6a219bc7c23b3eb4656b13ad039cd5 /inc/cub3d.h | |
parent | Fixed sprite parse (diff) | |
download | 42-cub3d-94c06bc705b8598eb9ce30514f14f583f2538de8.tar.gz 42-cub3d-94c06bc705b8598eb9ce30514f14f583f2538de8.tar.bz2 42-cub3d-94c06bc705b8598eb9ce30514f14f583f2538de8.tar.xz 42-cub3d-94c06bc705b8598eb9ce30514f14f583f2538de8.tar.zst 42-cub3d-94c06bc705b8598eb9ce30514f14f583f2538de8.zip |
Solved segfault, fuck stack
Diffstat (limited to '')
-rw-r--r-- | inc/cub3d.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index 38d4e3f..92e57ce 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -87,8 +87,9 @@ 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); void ft_sort_sprites(t_cub *cl, int16_t i, int16_t j); -void ft_sort_s_t(t_cub *cl, float dist_tab[8][4096]); +void ft_sort_s_t(t_cub *cl, float **dist_tab); void ft_calc_sprite(t_cub *cl); void ft_draw_sprite(t_cub *cl, t_sprite *sprite); void ft_calc_trap(t_cub *cl); |