summaryrefslogtreecommitdiff
path: root/genome.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 /genome.c
parent6295366a1d646c73a780f4a6e4f709b9ebabfb27 (diff)
downloadpucket-master.tar.gz
pucket-master.tar.bz2
pucket-master.zip
Import bmod from jwildfireHEADmaster
Diffstat (limited to 'genome.c')
-rw-r--r--genome.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/genome.c b/genome.c
index 8221749..c21c102 100644
--- a/genome.c
+++ b/genome.c
@@ -262,6 +262,11 @@ static void random_xform_param (flam3_xform * const xform, const unsigned int i,
xform->bcollide_num = rand_d01(rc)*(1<<16);
xform->bcollide_a = rand_d01(rc);
break;
+
+ case VAR_BMOD:
+ xform->bmod_radius = rand_d01(rc)*(1<<16);
+ xform->bmod_distance = rand_d01(rc)*2;
+ break;
}
}