aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-03-09 19:28:45 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-03-09 19:28:45 +0100
commit0b14b6447562d2ce7814fc188c988fb1cbf890c2 (patch)
treee84889ea7edd1b3b4b6b072544e1a0f672a07243 /inc/cub3d_structs.h
parentMerge branch 'shpritz' (diff)
download42-cub3d-0b14b6447562d2ce7814fc188c988fb1cbf890c2.tar.gz
42-cub3d-0b14b6447562d2ce7814fc188c988fb1cbf890c2.tar.bz2
42-cub3d-0b14b6447562d2ce7814fc188c988fb1cbf890c2.tar.xz
42-cub3d-0b14b6447562d2ce7814fc188c988fb1cbf890c2.tar.zst
42-cub3d-0b14b6447562d2ce7814fc188c988fb1cbf890c2.zip
Norme is pretty bav
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r--inc/cub3d_structs.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 3c7ae28..d650110 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -86,29 +86,29 @@ typedef struct s_rgb
typedef struct s_sprite
{
- int32_t spritescreenx;
- int32_t x;
- int32_t y;
- int32_t tex_x;
- int32_t tex_y;
- int32_t s_pos_x;
- int32_t s_pos_y;
- double spritex;
- double spritey;
- int32_t spriteheight;
- int32_t spritewidth;
- int32_t drawstartx;
- int32_t drawstarty;
- int32_t drawendx;
- int32_t drawendy;
- int32_t s_tex_y;
- double transformx;
- double transformy;
- double sprite_dist;
- double invdet;
-} t_sprite;
-
-typedef struct s_player
+ int32_t spritescreenx;
+ int32_t x;
+ int32_t y;
+ int32_t tex_x;
+ int32_t tex_y;
+ int32_t s_pos_x;
+ int32_t s_pos_y;
+ double spritex;
+ double spritey;
+ int32_t spriteheight;
+ int32_t spritewidth;
+ int32_t drawstartx;
+ int32_t drawstarty;
+ int32_t drawendx;
+ int32_t drawendy;
+ int32_t s_tex_y;
+ double transformx;
+ double transformy;
+ double sprite_dist;
+ double invdet;
+} t_sprite;
+
+typedef struct s_player
{
float pos_x;
float pos_y;