header norm check
This commit is contained in:
parent
91cd64dba8
commit
bd7baf18bd
1 changed files with 27 additions and 28 deletions
|
@ -6,7 +6,7 @@
|
||||||
/* By: gtertysh <marvin@42.fr> +#+ +:+ +#+ */
|
/* By: gtertysh <marvin@42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2017/03/16 20:59:04 by gtertysh #+# #+# */
|
/* Created: 2017/03/16 20:59:04 by gtertysh #+# #+# */
|
||||||
/* Updated: 2017/03/24 14:00:01 by gtertysh ### ########.fr */
|
/* Updated: 2017/03/24 19:58:43 by gtertysh ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
@ -40,7 +40,6 @@
|
||||||
|
|
||||||
# define NUM_THREADS 24
|
# define NUM_THREADS 24
|
||||||
|
|
||||||
|
|
||||||
typedef struct s_complex
|
typedef struct s_complex
|
||||||
{
|
{
|
||||||
long double rl;
|
long double rl;
|
||||||
|
@ -86,14 +85,14 @@ typedef struct s_image
|
||||||
int bpp;
|
int bpp;
|
||||||
} t_image;
|
} t_image;
|
||||||
|
|
||||||
typedef t_color (*frac_func)(t_frac_data *data, int x, int y);
|
typedef t_color (*t_frac_func)(t_frac_data *data, int x, int y);
|
||||||
|
|
||||||
typedef struct s_fractol
|
typedef struct s_fractol
|
||||||
{
|
{
|
||||||
void *mlx;
|
void *mlx;
|
||||||
void *win;
|
void *win;
|
||||||
t_frac_data *frac;
|
t_frac_data *frac;
|
||||||
frac_func fr_funcs[3];
|
t_frac_func fr_funcs[3];
|
||||||
int w_height;
|
int w_height;
|
||||||
int w_width;
|
int w_width;
|
||||||
t_image *img;
|
t_image *img;
|
||||||
|
@ -104,7 +103,7 @@ typedef struct s_thread_data
|
||||||
t_fractol fr;
|
t_fractol fr;
|
||||||
int y_start;
|
int y_start;
|
||||||
int y_end;
|
int y_end;
|
||||||
frac_func fractal_func;
|
t_frac_func fractal_func;
|
||||||
} t_thread_data;
|
} t_thread_data;
|
||||||
|
|
||||||
void quit(t_fractol *fractol);
|
void quit(t_fractol *fractol);
|
||||||
|
|
Loading…
Add table
Reference in a new issue