diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-02-24 16:14:24 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-02-24 16:14:24 +0100 |
| commit | 1987bca74aec7b8937e6cc69ebf9c584b0467bad (patch) | |
| tree | af79fd5153d9605488f6b0c7a3de988a09994f5e /src/fractals/julia.c | |
| parent | c6f87a62b31325e91bc8c847de9b20647a9b1cd8 (diff) | |
| download | fractol-1987bca74aec7b8937e6cc69ebf9c584b0467bad.tar.gz fractol-1987bca74aec7b8937e6cc69ebf9c584b0467bad.tar.bz2 fractol-1987bca74aec7b8937e6cc69ebf9c584b0467bad.zip | |
Added tricorn fractal
Diffstat (limited to 'src/fractals/julia.c')
| -rw-r--r-- | src/fractals/julia.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fractals/julia.c b/src/fractals/julia.c index d1afb46..136cf13 100644 --- a/src/fractals/julia.c +++ b/src/fractals/julia.c @@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/24 15:17:38 by cacharle #+# #+# */ -/* Updated: 2020/02/24 15:36:04 by cacharle ### ########.fr */ +/* Updated: 2020/02/24 16:06:57 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -34,8 +34,8 @@ int julia(t_state *state, t_complex z) break; zi = 2.0 * zr * zi; zr = zr_square - zi_square; - zi += state->julia_const.i; - zr += state->julia_const.r; + zi += state->c.i; + zr += state->c.r; } return (n); } |
