aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p1.le-101.fr>2020-03-08 18:35:05 +0100
committerRudy Bousset <rbousset@z2r4p1.le-101.fr>2020-03-08 18:35:05 +0100
commitbd93fcfe2968be72114c8b7a2a2b76b27a071925 (patch)
treefe1d85e4b6fbc0791b679aaf49c02583db8e3dfc /inc
parentWe close (diff)
download42-cub3d-bd93fcfe2968be72114c8b7a2a2b76b27a071925.tar.gz
42-cub3d-bd93fcfe2968be72114c8b7a2a2b76b27a071925.tar.bz2
42-cub3d-bd93fcfe2968be72114c8b7a2a2b76b27a071925.tar.xz
42-cub3d-bd93fcfe2968be72114c8b7a2a2b76b27a071925.tar.zst
42-cub3d-bd93fcfe2968be72114c8b7a2a2b76b27a071925.zip
Jimi Hendrix would be proud
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d_structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 7072628..995ef08 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -122,6 +122,7 @@ typedef struct s_ray
{
uint16_t line_h;
float wall_dist;
+ float perp_wall_dist;
float x_ray_pos;
float y_ray_pos;
float x_ray_dir;