diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-05-20 12:42:39 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-05-20 12:42:39 +0200 |
| commit | 5d6b59778a7346317ddfc549c350c0960a7a54a7 (patch) | |
| tree | 85d85e59ae8943ee486aebfe2b0760f0ee3a5b8e /inc | |
| parent | b9915d27b0a21a97540d6ed193f338da3732e1a1 (diff) | |
| download | mandelbrot-5d6b59778a7346317ddfc549c350c0960a7a54a7.tar.gz mandelbrot-5d6b59778a7346317ddfc549c350c0960a7a54a7.tar.bz2 mandelbrot-5d6b59778a7346317ddfc549c350c0960a7a54a7.zip | |
Added Smoothness and super sampling
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/config.h | 3 | ||||
| -rw-r--r-- | inc/mandel.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/inc/config.h b/inc/config.h index 4ce9f2e..c336c51 100644 --- a/inc/config.h +++ b/inc/config.h @@ -4,7 +4,6 @@ # define MANDEL_WINDOW_WIDTH 640 # define MANDEL_WINDOW_HEIGHT 480 # define MANDEL_WINDOW_TITLE "Mandelbrot" -# define MANDEL_SURFACE_DEPTH 8 -# define MANDEL_ITERATIONS 20 +# define MANDEL_ITERATIONS 50 #endif diff --git a/inc/mandel.h b/inc/mandel.h index f220132..0383a39 100644 --- a/inc/mandel.h +++ b/inc/mandel.h @@ -69,6 +69,8 @@ typedef struct int imag_end; int iterations; int texture; + int smooth; + int samples; } location; } Shader; @@ -93,6 +95,8 @@ typedef struct double imag_start; double imag_end; int iterations; + bool smooth; + float samples; } State; // mandelbrot.c |
