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 b53f130..cceafec 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -88,7 +88,7 @@ typedef struct s_ray
{
uint16_t line_h;
float wall_dist;
- float wall_dist_tab[4096];
+ float *wall_dist_tab;
float x_ray_pos;
float y_ray_pos;
float x_ray_dir;