/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_sort_s_t.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: rbousset +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/24 20:22:45 by rbousset #+# #+# */ /* Updated: 2020/03/09 18:56:01 by rbousset ### ########lyon.fr */ /* */ /* ************************************************************************** */ #include #include #include #include #include #include /*clearpilled*/ void ft_sort_s_t(t_cub *cl, float dist_tab[8][4096]) { uint16_t i; int32_t tmp; i = 0; while (i < cl->mlist.sprite_var) { if (dist_tab[i][0] < dist_tab[i + 1][0]) { i = 0; } i++; } }