diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-04-25 17:08:05 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-05-02 21:36:45 +0200 |
commit | 78509371189f5ae323cc98bf5fba9e450c76e575 (patch) | |
tree | 3424c535c0a32bb6384264f4ca12233cb54124aa | |
parent | 9862f16cb9bff29abfd9eb5ff92d4b31cc2327e4 (diff) | |
download | pucket-78509371189f5ae323cc98bf5fba9e450c76e575.tar.gz pucket-78509371189f5ae323cc98bf5fba9e450c76e575.tar.bz2 pucket-78509371189f5ae323cc98bf5fba9e450c76e575.zip |
Drop unused amw_amp
-rw-r--r-- | flam3.h | 3 | ||||
-rw-r--r-- | interpolation.c | 1 | ||||
-rw-r--r-- | parser.c | 2 | ||||
-rw-r--r-- | variations.c | 1 |
4 files changed, 0 insertions, 7 deletions
@@ -221,9 +221,6 @@ typedef struct xform { double rectangles_x; double rectangles_y; - /* AMW */ - double amw_amp; - /* Disc 2 */ double disc2_rot; double disc2_twist; diff --git a/interpolation.c b/interpolation.c index aaa9145..0f42c8c 100644 --- a/interpolation.c +++ b/interpolation.c @@ -395,7 +395,6 @@ void flam3_interpolate_n(flam3_genome *result, int ncp, INTERP(xform[i].curl_c2); INTERP(xform[i].rectangles_x); INTERP(xform[i].rectangles_y); - INTERP(xform[i].amw_amp); INTERP(xform[i].disc2_rot); INTERP(xform[i].disc2_twist); INTERP(xform[i].super_shape_rnd); @@ -932,8 +932,6 @@ static int parse_xform_xml(xmlNode *chld_node,flam3_xform *this_xform, int *num_ this_xform->rectangles_x = flam3_atof(att_str); } else if (!xmlStrcmp(cur_att->name, (const xmlChar *)"rectangles_y")) { this_xform->rectangles_y = flam3_atof(att_str); - } else if (!xmlStrcmp(cur_att->name, (const xmlChar *)"amw_amp")) { - this_xform->amw_amp = flam3_atof(att_str); } else if (!xmlStrcmp(cur_att->name, (const xmlChar *)"disc2_rot")) { this_xform->disc2_rot = flam3_atof(att_str); } else if (!xmlStrcmp(cur_att->name, (const xmlChar *)"disc2_twist")) { diff --git a/variations.c b/variations.c index 6b13fd2..e70fe17 100644 --- a/variations.c +++ b/variations.c @@ -2446,7 +2446,6 @@ void initialize_xforms(flam3_genome *thiscp, int start_here) { thiscp->xform[i].curl_c2 = 0.0; thiscp->xform[i].rectangles_x = 1.0; thiscp->xform[i].rectangles_y = 1.0; - thiscp->xform[i].amw_amp = 1.0; thiscp->xform[i].super_shape_rnd = 0.0; thiscp->xform[i].super_shape_m = 0.0; thiscp->xform[i].super_shape_n1 = 1.0; |