From 7500d3b40ebd24f32d8ae226aed65fabc28c7e8d Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 24 May 2015 17:32:48 +0200 Subject: Add improvecolors command Also fixes try_colors, which used an integer division *before* casting the result to double. --- flam3.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'flam3.h') diff --git a/flam3.h b/flam3.h index b011d81..e5127fc 100644 --- a/flam3.h +++ b/flam3.h @@ -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); -- cgit v1.2.3