From 78509371189f5ae323cc98bf5fba9e450c76e575 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 25 Apr 2015 17:08:05 +0200 Subject: Drop unused amw_amp --- flam3.h | 3 --- interpolation.c | 1 - parser.c | 2 -- variations.c | 1 - 4 files changed, 7 deletions(-) diff --git a/flam3.h b/flam3.h index e533833..64f5b3f 100644 --- a/flam3.h +++ b/flam3.h @@ -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); diff --git a/parser.c b/parser.c index db43c68..89f587f 100644 --- a/parser.c +++ b/parser.c @@ -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; -- cgit v1.2.3