aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r--inc/cub3d_structs.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 809963c..fb690ee 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -142,7 +142,6 @@ typedef struct s_ray
{
uint16_t line_h;
float wall_dist;
- float *wall_dist_tab;
float x_ray_pos;
float y_ray_pos;
float x_ray_dir;
@@ -153,7 +152,6 @@ typedef struct s_ray
float y_delta_dist;
int16_t wall_t;
int16_t wall_b;
- int16_t *wall_bz;
uint8_t side;
size_t sqx;
size_t sqy;
@@ -170,6 +168,12 @@ typedef struct s_ray
float y_floor;
int32_t x_cell;
int32_t y_cell;
+ int16_t *wall_t_tab;
+ int16_t *wall_b_tab;
+ uint8_t *w_side_tab;
+ uint16_t *line_h_tab;
+ float *wall_dist_tab;
+ int16_t *wall_bz;
} t_ray;
typedef struct s_map