aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r6p3.le-101.fr>2020-03-08 20:44:41 +0100
committerRudy Bousset <rbousset@z2r6p3.le-101.fr>2020-03-08 20:44:41 +0100
commit36c540d12683633b77f6acda658fe4517eb674a5 (patch)
tree09966fe9da82bea0aab8f219da7630147a2d9ff7 /inc
parentNice and clean (diff)
download42-cub3d-36c540d12683633b77f6acda658fe4517eb674a5.tar.gz
42-cub3d-36c540d12683633b77f6acda658fe4517eb674a5.tar.bz2
42-cub3d-36c540d12683633b77f6acda658fe4517eb674a5.tar.xz
42-cub3d-36c540d12683633b77f6acda658fe4517eb674a5.tar.zst
42-cub3d-36c540d12683633b77f6acda658fe4517eb674a5.zip
Clean af
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d.h2
-rw-r--r--inc/cub3d_structs.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index 7014e51..77ade74 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -120,8 +120,8 @@ uint8_t ft_use_args(int argc, const char *argv[],
*/
void ft_castray(t_cub *cl);
-void ft_floor_cast(t_cub *cl);
void ft_detect(t_cub *cl);
+void ft_floor_cast(uint16_t y, t_cub *cl);
/*
** ====== OTHER ======
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 7072628..cf8b6fa 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -130,8 +130,6 @@ typedef struct s_ray
float y_side_dist;
float x_delta_dist;
float y_delta_dist;
- float floor_x_wall;
- float floor_y_wall;
int16_t wall_t;
int16_t wall_b;
uint8_t side;