aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_raycasting.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p1.le-101.fr>2020-03-11 18:06:17 +0100
committerRudy Bousset <rbousset@z2r4p1.le-101.fr>2020-03-11 18:06:17 +0100
commit7b61072321c71c1612a7b33d2e8d722a49c5bc99 (patch)
tree6369fc33d405013e40e152061bb080e6a5caabf8 /src/ft_raycasting.c
parentPerformance (diff)
download42-cub3d-7b61072321c71c1612a7b33d2e8d722a49c5bc99.tar.gz
42-cub3d-7b61072321c71c1612a7b33d2e8d722a49c5bc99.tar.bz2
42-cub3d-7b61072321c71c1612a7b33d2e8d722a49c5bc99.tar.xz
42-cub3d-7b61072321c71c1612a7b33d2e8d722a49c5bc99.tar.zst
42-cub3d-7b61072321c71c1612a7b33d2e8d722a49c5bc99.zip
ca tue
Diffstat (limited to 'src/ft_raycasting.c')
-rw-r--r--src/ft_raycasting.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_raycasting.c b/src/ft_raycasting.c
index 2d6d197..a0720ea 100644
--- a/src/ft_raycasting.c
+++ b/src/ft_raycasting.c
@@ -106,6 +106,7 @@ void
}
ft_floor_cast(cl);
ft_calc_sprite(cl);
+ ft_calc_trap(cl);
ft_memdel((void**)&cl->rlist.wall_dist_tab);
ft_memdel((void**)&cl->rlist.wall_bz);
}