aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2020-02-21 19:47:21 +0100
committersalaaad2 <arthurdurant263@gmail.com>2020-02-21 19:47:21 +0100
commitda01f1737b2f6c748a8b667ccd2e3d0e314724ba (patch)
tree093df361f545b80c2563f3a53190f8950bc33381 /inc
parentMakefile rupdate (diff)
download42-cub3d-da01f1737b2f6c748a8b667ccd2e3d0e314724ba.tar.gz
42-cub3d-da01f1737b2f6c748a8b667ccd2e3d0e314724ba.tar.bz2
42-cub3d-da01f1737b2f6c748a8b667ccd2e3d0e314724ba.tar.xz
42-cub3d-da01f1737b2f6c748a8b667ccd2e3d0e314724ba.tar.zst
42-cub3d-da01f1737b2f6c748a8b667ccd2e3d0e314724ba.zip
on est la
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d_structs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index f5c295c..7731563 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -49,11 +49,14 @@ typedef struct s_rgb
typedef struct s_sprite
{
+ int32_t s_x;
+ int32_t s_y;
int32_t s_h;
int32_t s_w;
int32_t s_start_x;
int32_t s_start_y;
int32_t s_tex_y;
+ double sprite_dist;
} t_sprite;
typedef struct s_player