aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-24 00:25:18 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-24 00:25:18 +0100
commita2dc982a92d8f1745831f0ded8e082c445030ff0 (patch)
treee1e79ff1bfb45959701f4ba548a8b5a988bd4f11 /inc/cub3d_structs.h
parentgot work to do (diff)
download42-cub3d-a2dc982a92d8f1745831f0ded8e082c445030ff0.tar.gz
42-cub3d-a2dc982a92d8f1745831f0ded8e082c445030ff0.tar.bz2
42-cub3d-a2dc982a92d8f1745831f0ded8e082c445030ff0.tar.xz
42-cub3d-a2dc982a92d8f1745831f0ded8e082c445030ff0.tar.zst
42-cub3d-a2dc982a92d8f1745831f0ded8e082c445030ff0.zip
Doesn't look too bad
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r--inc/cub3d_structs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 49ede14..d9deb8a 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -168,9 +168,10 @@ typedef struct s_ray
float row_dist;
float x_floor;
float y_floor;
- int32_t x_cell;
- int32_t y_cell;
int32_t *tex_x_tab;
+ float *x_floor_tab;
+ float *y_floor_tab;
+ float *row_dist_tab;
int16_t *wall_t_tab;
uint8_t *w_side_tab;
uint16_t *line_h_tab;