diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-09 00:46:44 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-09 00:46:44 +0100 |
commit | 088caacd77c673fe9e18a416aebe70172bf50da8 (patch) | |
tree | 9f23204e3b6d0f31e60d3fc8da8d835524cd5949 /inc | |
parent | The smartest Makefile (diff) | |
download | 42-cub3d-088caacd77c673fe9e18a416aebe70172bf50da8.tar.gz 42-cub3d-088caacd77c673fe9e18a416aebe70172bf50da8.tar.bz2 42-cub3d-088caacd77c673fe9e18a416aebe70172bf50da8.tar.xz 42-cub3d-088caacd77c673fe9e18a416aebe70172bf50da8.tar.zst 42-cub3d-088caacd77c673fe9e18a416aebe70172bf50da8.zip |
FeelsAlmostGoodMan
Diffstat (limited to 'inc')
-rw-r--r-- | inc/cub3d_structs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index aff5663..a516036 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -143,6 +143,11 @@ typedef struct s_ray float x_f_ray_dir_bis; float y_f_ray_dir_bis; uint16_t p; + float row_dist; + float x_floor; + float y_floor; + int32_t x_cell; + int32_t y_cell; } t_ray; typedef struct s_map @@ -173,6 +178,8 @@ typedef struct s_map uint8_t scale; uint32_t nlx; uint32_t nly; + float x_floor_step; + float y_floor_step; } t_map; typedef struct s_cub |