aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2020-03-05 22:01:22 +0100
committersalaaad2 <arthurdurant263@gmail.com>2020-03-05 22:01:22 +0100
commit82f823ceb63d76ce052db3bca74842fe37394eb4 (patch)
tree8e4f3fc4b36027560dad63da91f91f0fc9db2dde /inc/cub3d_structs.h
parentdebugging... (diff)
download42-cub3d-82f823ceb63d76ce052db3bca74842fe37394eb4.tar.gz
42-cub3d-82f823ceb63d76ce052db3bca74842fe37394eb4.tar.bz2
42-cub3d-82f823ceb63d76ce052db3bca74842fe37394eb4.tar.xz
42-cub3d-82f823ceb63d76ce052db3bca74842fe37394eb4.tar.zst
42-cub3d-82f823ceb63d76ce052db3bca74842fe37394eb4.zip
fuck
Diffstat (limited to '')
-rw-r--r--inc/cub3d_structs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 4847d1f..102b985 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -50,6 +50,7 @@ typedef struct s_rgb
typedef struct s_sprite
{
int32_t spritescreenx;
+ int8_t isvisible;
int32_t x;
int32_t y;
int32_t tex_x;
@@ -88,7 +89,6 @@ 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;