From 2be816ce8697cf7ce22ac889482a6d8df2f836ba Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 17 Jul 2016 13:51:35 +0200 Subject: Import bmod from jwildfire --- flam3.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'flam3.c') 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; -- cgit v1.2.3