aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-27 17:12:57 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-27 17:12:57 +0100
commitdbf44b886eb6340ce1611d95d869aa4a42e116b5 (patch)
treea01672a4a293c202f107fa789931aa59a9848692 /src
parentkk (diff)
download42-cub3d-dbf44b886eb6340ce1611d95d869aa4a42e116b5.tar.gz
42-cub3d-dbf44b886eb6340ce1611d95d869aa4a42e116b5.tar.bz2
42-cub3d-dbf44b886eb6340ce1611d95d869aa4a42e116b5.tar.xz
42-cub3d-dbf44b886eb6340ce1611d95d869aa4a42e116b5.tar.zst
42-cub3d-dbf44b886eb6340ce1611d95d869aa4a42e116b5.zip
cleaner
Diffstat (limited to 'src')
-rw-r--r--src/ft_sort_s_t.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_sort_s_t.c b/src/ft_sort_s_t.c
index 0f14d35..8b70fe5 100644
--- a/src/ft_sort_s_t.c
+++ b/src/ft_sort_s_t.c
@@ -51,6 +51,7 @@ static void
{
float tmp_i[4096];
+ ft_bzero(tmp_i, 4096);
ft_memcpy(tmp_i, dist_tab[i], 4096);
ft_memcpy(dist_tab[i], dist_tab[i + 1], 4096);
ft_memcpy(dist_tab[i + 1], tmp_i, 4096);