summaryrefslogtreecommitdiff
path: root/flam3.c
diff options
context:
space:
mode:
Diffstat (limited to 'flam3.c')
-rw-r--r--flam3.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/flam3.c b/flam3.c
index 08640b0..61cd088 100644
--- a/flam3.c
+++ b/flam3.c
@@ -529,6 +529,10 @@ void flam3_copy_params(flam3_xform * restrict dest, flam3_xform * restrict src,
dest->bcollide_num = src->bcollide_num;
dest->bcollide_a = src->bcollide_a;
break;
+ case VAR_BMOD:
+ dest->bmod_radius = src->bmod_radius;
+ dest->bmod_distance = src->bmod_distance;
+ break;
}
}
@@ -1299,6 +1303,11 @@ static void flam3_print_xform(FILE *f, flam3_xform *x, int final_flag,
fprintf(f, "bcollide_a=\"%g\" ", x->bcollide_a);
break;
+ case VAR_BMOD:
+ fprintf(f, "bmod_radius=\"%g\" ", x->bmod_radius);
+ fprintf(f, "bmod_distance=\"%g\" ", x->bmod_distance);
+ break;
+
default:
/* pass */
break;