diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-05-24 17:32:48 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-05-24 17:32:48 +0200 |
commit | 7500d3b40ebd24f32d8ae226aed65fabc28c7e8d (patch) | |
tree | e46a7ab42dd84ffb0d0574b05334f9d369f2c392 /flam3.h | |
parent | d82c89132ad3a83c816edeb42049b88797ac1122 (diff) | |
download | pucket-7500d3b40ebd24f32d8ae226aed65fabc28c7e8d.tar.gz pucket-7500d3b40ebd24f32d8ae226aed65fabc28c7e8d.tar.bz2 pucket-7500d3b40ebd24f32d8ae226aed65fabc28c7e8d.zip |
Add improvecolors command
Also fixes try_colors, which used an integer division *before* casting
the result to double.
Diffstat (limited to 'flam3.h')
-rw-r--r-- | flam3.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -461,7 +461,11 @@ flam3_genome *flam3_parse_xml2(const int, int default_flag, int *ncps, randctx * void flam3_add_symmetry(flam3_genome *cp, int sym, randctx * const rc); -void flam3_improve_colors(flam3_genome *g, int ntries, int change_palette, int color_resolution, const palette_collection * const pc, randctx * const rc); +void flam3_improve_colors(flam3_genome *g, unsigned int ntries, + bool change_palette, + unsigned int color_resolution, double timelimit, + const palette_collection * const pc, + randctx * const rc); int flam3_estimate_bounding_box(flam3_genome *g, double eps, int nsamples, double *bmin, double *bmax, randctx *rc); |