From 84b6ca845a07421b10b527f3c18a49eabd8fb2f9 Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Mon, 17 Feb 2020 18:52:58 +0100 Subject: have correct width and hit zone, supposedly not much left --- inc/cub3d_structs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/cub3d_structs.h') diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 38472a6..00f85d7 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 -- cgit v1.2.3