diff options
Diffstat (limited to 'variations.c')
-rw-r--r-- | variations.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/variations.c b/variations.c index 219e342..8c28a0c 100644 --- a/variations.c +++ b/variations.c @@ -1912,6 +1912,13 @@ void xform_precalc(flam3_genome *cp, int xi) { wedgeJulia_precalc(&(cp->xform[xi])); } +static double adjust_percentage(double in) { + if (in==0.0) + return(0.0); + else + return(pow(10.0, -log(1.0/in)/log(2))); +} + int prepare_precalc_flags(flam3_genome *cp) { double d; |