summaryrefslogtreecommitdiff
path: root/flam3.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-05-24 17:32:48 +0200
committerLars-Dominik Braun <lars@6xq.net>2015-05-24 17:32:48 +0200
commit7500d3b40ebd24f32d8ae226aed65fabc28c7e8d (patch)
treee46a7ab42dd84ffb0d0574b05334f9d369f2c392 /flam3.h
parentd82c89132ad3a83c816edeb42049b88797ac1122 (diff)
downloadpucket-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.h6
1 files changed, 5 insertions, 1 deletions
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);