diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-02-12 16:43:27 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-05-02 21:36:44 +0200 |
commit | fdbbacc9eb786cbcd05f579b43a38fb13f1de3aa (patch) | |
tree | 5e6605db50011882d47bc5ca1ee8008803ea5a61 | |
parent | cb40d04fa6c5d6105adc42278b13954ee003d0e9 (diff) | |
download | pucket-fdbbacc9eb786cbcd05f579b43a38fb13f1de3aa.tar.gz pucket-fdbbacc9eb786cbcd05f579b43a38fb13f1de3aa.tar.bz2 pucket-fdbbacc9eb786cbcd05f579b43a38fb13f1de3aa.zip |
Fix curve variation
-rw-r--r-- | variations.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/variations.c b/variations.c index fd7eddb..e07983e 100644 --- a/variations.c +++ b/variations.c @@ -1265,10 +1265,10 @@ static double2 var60_curve (const double2 in, const flam3_iter_helper * const f, if (pc_ylen<1E-20) pc_ylen = 1E-20; - return weight * in + (double2) { + return weight * (in + (double2) { f->xform->curve_xamp * exp(-in[1]*in[1]/pc_xlen), f->xform->curve_yamp * exp(-in[0]*in[0]/pc_ylen), - }; + }); } |