lignes fonctionnent un tout petit peu
This commit is contained in:
@@ -6,6 +6,36 @@
|
||||
# include <unistd.h> // for sleep()
|
||||
# include <math.h> // for M_PI
|
||||
|
||||
typedef struct s_fdf
|
||||
{
|
||||
void *mlx_ptr;
|
||||
void *win_ptr;
|
||||
void *img_ptr;
|
||||
char *img_addr;
|
||||
int **map;
|
||||
int offset;
|
||||
int margin;
|
||||
int altitude;
|
||||
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_width;
|
||||
int map_height;
|
||||
int rot_x;
|
||||
int rot_y;
|
||||
double rad_x;
|
||||
double rad_y;
|
||||
int mov_x;
|
||||
int mov_y;
|
||||
int max_z;
|
||||
int img_bpp;
|
||||
int img_sizel;
|
||||
int img_endian;
|
||||
} t_fdf;
|
||||
|
||||
# define ESCAPE 65307
|
||||
# define UP 65362
|
||||
# define DOWN 65364
|
||||
@@ -38,34 +68,4 @@
|
||||
# define Y 121
|
||||
# define Z 122
|
||||
|
||||
typedef struct s_fdf
|
||||
{
|
||||
void *mlx_ptr;
|
||||
void *win_ptr;
|
||||
void *img_ptr;
|
||||
char *img_addr;
|
||||
int **map;
|
||||
int offset;
|
||||
int margin;
|
||||
int altitude;
|
||||
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_width;
|
||||
int map_height;
|
||||
int rot_x;
|
||||
int rot_y;
|
||||
double rad_x;
|
||||
double rad_y;
|
||||
int mov_x;
|
||||
int mov_y;
|
||||
int max_z;
|
||||
int img_bpp;
|
||||
int img_sizel;
|
||||
int img_endian;
|
||||
} t_fdf;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user