2 Commits

Author SHA1 Message Date
Scott Draves f8b6c78201 fix symmetry singularities by enforcing maxforms from the beginning instead of the end 2024-12-31 09:58:26 -05:00
Erik Reckase 7fb50c82e9 wrong redirection (#20)
* updated for aclocal 1.15

* libtool update after configure

* aclocal needed refresh

* localhost

* color speed is a motion element variable

* if mult motion elements present, was not using correct vals

* wrong element reference
2018-04-12 15:27:33 -04:00
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1131,7 +1131,7 @@ main(argc, argv)
if (maxforms && atoi(maxforms)) {
cp_save.symmetry = 0;
while (cp_save.num_xforms > atoi(maxforms))
flam3_delete_xform(&cp_save, cp_save.num_xforms - 1);
flam3_delete_xform(&cp_save, 0);
}
}
+2 -2
View File
@@ -570,8 +570,8 @@ void apply_motion_parameters(flam3_xform *xf, flam3_xform *addto, double blend)
/* Loop over the motion elements and add their contribution to the original vals */
for (i=0; i<xf->num_motion; i++) {
freq = mot[i]->motion_freq;
func = mot[i]->motion_func;
freq = mot[i].motion_freq;
func = mot[i].motion_func;
APPMOT(density); /* Must ensure > 0 after all is applied */
APPMOT(color); /* Must ensure [0,1] after all is applied */