aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-17 20:49:12 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-17 20:49:12 +0100
commitaa092dbabd6b1e66b8b52e7ecfc897f7c23be37a (patch)
tree098ad2f761c5f8c67bfa99c1111639aa96b7c0eb /inc/cub3d_structs.h
parentsex (diff)
parentRead to merge (diff)
download42-cub3d-aa092dbabd6b1e66b8b52e7ecfc897f7c23be37a.tar.gz
42-cub3d-aa092dbabd6b1e66b8b52e7ecfc897f7c23be37a.tar.bz2
42-cub3d-aa092dbabd6b1e66b8b52e7ecfc897f7c23be37a.tar.xz
42-cub3d-aa092dbabd6b1e66b8b52e7ecfc897f7c23be37a.tar.zst
42-cub3d-aa092dbabd6b1e66b8b52e7ecfc897f7c23be37a.zip
Merge branch 'textures_continued'
Diffstat (limited to '')
-rw-r--r--inc/cub3d_structs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 83b38a7..908b007 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -36,8 +36,6 @@ typedef struct s_img
int endian;
int img_w;
int img_h;
- int tex_x;
- int tex_y;
} t_img;
typedef struct s_rgb
@@ -85,6 +83,8 @@ typedef struct s_ray
size_t sqy;
uint8_t hit;
double wall_hit_x;
+ int tex_x;
+ int tex_y;
} t_ray;
typedef struct s_map