From 1987bca74aec7b8937e6cc69ebf9c584b0467bad Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 24 Feb 2020 16:14:24 +0100 Subject: Added tricorn fractal --- include/fractol.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/fractol.h') diff --git a/include/fractol.h b/include/fractol.h index e315e6b..c55791a 100644 --- a/include/fractol.h +++ b/include/fractol.h @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/24 09:28:16 by cacharle #+# #+# */ -/* Updated: 2020/02/24 15:29:50 by cacharle ### ########.fr */ +/* Updated: 2020/02/24 16:09:21 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -86,7 +86,7 @@ typedef struct s_state t_func_fractal func; t_complex center; t_complex plane; - t_complex julia_const; + t_complex c; } t_state; /* @@ -117,6 +117,7 @@ int event_mouse_motion(int x, int y, t_state *state); int mandelbrot(t_state *state, t_complex z); int julia(t_state *state, t_complex z); +int tricorn(t_state *state, t_complex z); /* ** helper.c -- cgit