aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-02-19 19:24:52 +0100
committerRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-02-19 19:24:52 +0100
commit1042dbf51a17cd055e764df669a91007261d638a (patch)
tree2ffdd38a0588899fc69d71fe8fd16cb2db880967 /inc/cub3d_structs.h
parentRemoved print_list (diff)
download42-cub3d-1042dbf51a17cd055e764df669a91007261d638a.tar.gz
42-cub3d-1042dbf51a17cd055e764df669a91007261d638a.tar.bz2
42-cub3d-1042dbf51a17cd055e764df669a91007261d638a.tar.xz
42-cub3d-1042dbf51a17cd055e764df669a91007261d638a.tar.zst
42-cub3d-1042dbf51a17cd055e764df669a91007261d638a.zip
tweak
Diffstat (limited to 'inc/cub3d_structs.h')
-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 2c77758..baae914 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -62,6 +62,7 @@ typedef struct s_ray
{
uint16_t line_h;
float wall_dist;
+ float mid_dist;
float x_ray_pos;
float y_ray_pos;
float x_ray_dir;