aboutsummaryrefslogtreecommitdiff
path: root/src/state.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-05-20 12:42:39 +0200
committerCharles <sircharlesaze@gmail.com>2020-05-20 12:42:39 +0200
commit5d6b59778a7346317ddfc549c350c0960a7a54a7 (patch)
tree85d85e59ae8943ee486aebfe2b0760f0ee3a5b8e /src/state.c
parentb9915d27b0a21a97540d6ed193f338da3732e1a1 (diff)
downloadmandelbrot-5d6b59778a7346317ddfc549c350c0960a7a54a7.tar.gz
mandelbrot-5d6b59778a7346317ddfc549c350c0960a7a54a7.tar.bz2
mandelbrot-5d6b59778a7346317ddfc549c350c0960a7a54a7.zip
Added Smoothness and super sampling
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state.c b/src/state.c
index 37eeccc..f661de6 100644
--- a/src/state.c
+++ b/src/state.c
@@ -55,6 +55,8 @@ bool state_init(State *state)
state->imag_start = -2.0;
state->imag_end = 2.0;
state->running = true;
+ state->smooth = false;
+ state->samples = 1.0;
return true;
}