summaryrefslogtreecommitdiff
path: root/flam3.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2016-07-17 13:51:35 +0200
committerLars-Dominik Braun <lars@6xq.net>2016-07-17 13:51:35 +0200
commit2be816ce8697cf7ce22ac889482a6d8df2f836ba (patch)
treea30ff859c9f95f3baa5d5840928e4a9aba80f5dc /flam3.c
parent6295366a1d646c73a780f4a6e4f709b9ebabfb27 (diff)
downloadpucket-master.tar.gz
pucket-master.tar.bz2
pucket-master.zip
Import bmod from jwildfireHEADmaster
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;