Browse Source

fix randomized bisect for kite crowns

master
Fr3deric 6 years ago
parent
commit
7c7b4aa8a0
  1. 2
      baumgen.js

2
baumgen.js

@ -12,7 +12,7 @@ function gen_tree(pos) { @@ -12,7 +12,7 @@ function gen_tree(pos) {
baum.crown = new KiteCrown(
70 + Math.random() * 30,
0.4 + Math.random() * 0.2,
0.3 + Math.random() * 0.1,
{bisect: 0.2 + Math.random() * 0.2},
)
} else {
baum.crown = new TriangleCrown(

Loading…
Cancel
Save