aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2020-02-19 20:22:27 +0100
committersalaaad2 <arthurdurant263@gmail.com>2020-02-19 20:22:27 +0100
commit4984514d2bab3b04790cba631dc7ef8bd8399eff (patch)
treeb8c2c1bae9377f7aa2fdcf3c685834f7002b05c0 /inc
parentCommit (diff)
download42-cub3d-4984514d2bab3b04790cba631dc7ef8bd8399eff.tar.gz
42-cub3d-4984514d2bab3b04790cba631dc7ef8bd8399eff.tar.bz2
42-cub3d-4984514d2bab3b04790cba631dc7ef8bd8399eff.tar.xz
42-cub3d-4984514d2bab3b04790cba631dc7ef8bd8399eff.tar.zst
42-cub3d-4984514d2bab3b04790cba631dc7ef8bd8399eff.zip
asdasdasd :^)
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d.h1
-rw-r--r--inc/cub3d_structs.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index f7e4d79..8625705 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -81,5 +81,6 @@ int ft_key_loop(t_cub *cl);
void ft_draw_circle(int32_t a, int32_t b,
int32_t color, t_cub *cl);
void ft_draw_texture(t_cub *cl, int x, int y, int tex_y);
+void ft_calc_tex(t_cub *clist);
# endif
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 18edfd8..9e19e2b 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -59,6 +59,8 @@ typedef struct s_player
{
float pos_x;
float pos_y;
+ float start_x;
+ float start_y;
float dir_x;
float dir_y;
float cam_x;