From 039bef575547b29ad23c76b538128da641b6c0e9 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Fri, 27 May 2016 11:45:58 +1200 Subject: Initial roughing of custom image location, mandelbrot only --- fractal-gen.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'fractal-gen.h') diff --git a/fractal-gen.h b/fractal-gen.h index 21d4ca5..a103d1f 100644 --- a/fractal-gen.h +++ b/fractal-gen.h @@ -28,8 +28,15 @@ #include #include +struct frame { + double top; + double left; + double scale; +}; + typedef struct { volatile unsigned long idx; + struct frame parent_frame; unsigned long core; unsigned long width; unsigned long datasize; @@ -48,6 +55,7 @@ char *argv0; typedef void* (*generator_func)(void *); +void defaultsd(double*, double); int parse_args(int argc, char **argv); generator_func select_generator(const char* name); void show_help(); -- cgit v1.1