diff options
author | Rudy Bousset <rbousset@z3r8p1.le-101.fr> | 2020-02-13 17:28:01 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z3r8p1.le-101.fr> | 2020-02-13 17:28:01 +0100 |
commit | 3dd666969d58d7608d25d240a95be84a8bf42394 (patch) | |
tree | e3aa66c20eb572561d22f65b3ee16830734df2fe /src/ft_raycasting.c | |
parent | does not compile but new header for structs (diff) | |
download | 42-cub3d-3dd666969d58d7608d25d240a95be84a8bf42394.tar.gz 42-cub3d-3dd666969d58d7608d25d240a95be84a8bf42394.tar.bz2 42-cub3d-3dd666969d58d7608d25d240a95be84a8bf42394.tar.xz 42-cub3d-3dd666969d58d7608d25d240a95be84a8bf42394.tar.zst 42-cub3d-3dd666969d58d7608d25d240a95be84a8bf42394.zip |
Divided minimap scale by 4, Makefile update
Diffstat (limited to '')
-rw-r--r-- | src/ft_raycasting.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ft_raycasting.c b/src/ft_raycasting.c index 1f81840..d36eacf 100644 --- a/src/ft_raycasting.c +++ b/src/ft_raycasting.c @@ -14,10 +14,9 @@ ft_castray(t_cub *clist) uint16_t i; i = 0; - while (i < clist->wlist->size_y) + while (i < clist->wlist->y_size) { - ft_initray(clist. i); - p_s->line + ft_initray(clist, i); i++; } } |