-
Notifications
You must be signed in to change notification settings - Fork 0
/
fdf.h
37 lines (33 loc) · 1.37 KB
/
fdf.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* fdf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dhorvill <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/01/19 00:50:31 by dhorvill #+# #+# */
/* Updated: 2018/02/02 18:58:46 by ybouzgao ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_FDF_H
#define FT_FDF_H
typedef struct s_misc
{
void *mlx;
void *win;
int a;
int b;
int c;
int d;
float e;
float n;
float p;
int fd;
char *str;
} t_misc;
int ft_draw_line2(int nbr, int next_nbr, int x0, int y0, int x1, int y1, void *mlx, void *win);
int exitt(int keycode, t_misc *s);
t_misc find_initial_coord(t_misc *s);
int connect_dots(int new_num, int fd, int dist, float x, float y, void *mlx, void *win);
int ft_color(int height, int next_height, int savenbr);
#endif