aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2020-02-18 18:18:01 +0100
committersalaaad2 <arthurdurant263@gmail.com>2020-02-18 18:18:01 +0100
commitf8cd383a3ed07be0fb3ad78ad25a0c053c53ae3d (patch)
tree53fb6c5cea4b793f1619ed0dd5a3d76dfc910081 /inc/cub3d_structs.h
parenthmmmmmmmmmmm (diff)
download42-cub3d-f8cd383a3ed07be0fb3ad78ad25a0c053c53ae3d.tar.gz
42-cub3d-f8cd383a3ed07be0fb3ad78ad25a0c053c53ae3d.tar.bz2
42-cub3d-f8cd383a3ed07be0fb3ad78ad25a0c053c53ae3d.tar.xz
42-cub3d-f8cd383a3ed07be0fb3ad78ad25a0c053c53ae3d.tar.zst
42-cub3d-f8cd383a3ed07be0fb3ad78ad25a0c053c53ae3d.zip
pas loin
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 e2d5100..18edfd8 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -36,6 +36,8 @@ typedef struct s_img
int endian;
int img_w;
int img_h;
+ int tex_x;
+ int tex_y;
} t_img;
typedef struct s_rgb
@@ -83,8 +85,6 @@ typedef struct s_ray
size_t sqy;
uint8_t hit;
double wall_hit_x;
- int tex_x;
- int tex_y;
double step_tex_v;
} t_ray;