aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
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;