diff options
| author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-11 02:03:18 +0100 | 
|---|---|---|
| committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-11 02:03:18 +0100 | 
| commit | 15e4ca8491c9b2872b30cb1522f72920514a62f1 (patch) | |
| tree | 735c8b9fa394d43f51ff6d164dc4f94eb8824753 /src/ft_raycasting.c | |
| parent | Sliding like a champ (diff) | |
| download | 42-cub3d-15e4ca8491c9b2872b30cb1522f72920514a62f1.tar.gz 42-cub3d-15e4ca8491c9b2872b30cb1522f72920514a62f1.tar.bz2 42-cub3d-15e4ca8491c9b2872b30cb1522f72920514a62f1.tar.xz 42-cub3d-15e4ca8491c9b2872b30cb1522f72920514a62f1.tar.zst 42-cub3d-15e4ca8491c9b2872b30cb1522f72920514a62f1.zip | |
ft_calc_sprite in a better location, still sliding like a champ
Diffstat (limited to '')
| -rw-r--r-- | src/ft_raycasting.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/ft_raycasting.c b/src/ft_raycasting.c index 221c43d..2d6d197 100644 --- a/src/ft_raycasting.c +++ b/src/ft_raycasting.c @@ -105,7 +105,7 @@ void  		i++;  	}  	ft_floor_cast(cl); -	i = 0; +	ft_calc_sprite(cl);  	ft_memdel((void**)&cl->rlist.wall_dist_tab);  	ft_memdel((void**)&cl->rlist.wall_bz);  } | 
