aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2020-03-09 17:50:45 +0100
committersalaaad2 <arthurdurant263@gmail.com>2020-03-09 17:50:45 +0100
commit7d50a78eed9c6cfce3288c471b9f3e6367bfe040 (patch)
treedc53123db1690b93a1b2e00c842ff16251662937 /inc
parentsprites ont des jambes (diff)
download42-cub3d-7d50a78eed9c6cfce3288c471b9f3e6367bfe040.tar.gz
42-cub3d-7d50a78eed9c6cfce3288c471b9f3e6367bfe040.tar.bz2
42-cub3d-7d50a78eed9c6cfce3288c471b9f3e6367bfe040.tar.xz
42-cub3d-7d50a78eed9c6cfce3288c471b9f3e6367bfe040.tar.zst
42-cub3d-7d50a78eed9c6cfce3288c471b9f3e6367bfe040.zip
gang
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;