en cours ecriture drawing

This commit is contained in:
hugogogo
2021-07-18 17:38:28 +02:00
parent 3bef66f8ec
commit ab39114203
4 changed files with 88 additions and 55 deletions

View File

@@ -11,23 +11,28 @@
# define LEFT 65361
# define RIGHT 65363
typedef struct s_map
typedef struct s_fdf
{
void *mlx_ptr;
void *win_ptr;
void *img_ptr;
char *img_addr;
int **map;
int offset;
int margin;
int win_size_x;
int win_size_y;
int img_size_x;
int img_size_y;
int map_size_x;
int map_size_y;
int map_length;
int map_height;
int rot_x;
int rot_y;
int img_bpp;
int img_sizel;
int img_endian;
int rot_x;
int rot_y;
} t_map;
} t_fdf;
#endif