aboutsummaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/config.h3
-rw-r--r--inc/mandel.h4
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