diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2016-05-27 11:45:58 +1200 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2016-05-27 11:45:58 +1200 |
commit | 039bef575547b29ad23c76b538128da641b6c0e9 (patch) | |
tree | 6fdea4e7156a20579cff1dc9939a84cdf48cd4cd /fractal-gen.h | |
parent | 7e946fd9d958c505c21a2206141256967616614c (diff) | |
download | fractal-gen-039bef575547b29ad23c76b538128da641b6c0e9.tar.xz |
Initial roughing of custom image location, mandelbrot only
Diffstat (limited to 'fractal-gen.h')
-rw-r--r-- | fractal-gen.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 <stdbool.h> #include <pthread.h> +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(); |