More fixes
This commit is contained in:
parent
718b3a6fc4
commit
52e5600bb8
1 changed files with 3 additions and 0 deletions
|
@ -48,6 +48,9 @@ public class JellyshroomFeature extends DefaultFeature {
|
||||||
});
|
});
|
||||||
|
|
||||||
radius = height * MHelper.randRange(0.7F, 0.9F, random);
|
radius = height * MHelper.randRange(0.7F, 0.9F, random);
|
||||||
|
if (radius < 1.5F) {
|
||||||
|
radius = 1.5F;
|
||||||
|
}
|
||||||
SDF cap = makeCap(radius, random, membrane);
|
SDF cap = makeCap(radius, random, membrane);
|
||||||
Vector3f last = spline.get(spline.size() - 1);
|
Vector3f last = spline.get(spline.size() - 1);
|
||||||
cap = new SDFTranslate().setTranslate(last.getX(), last.getY(), last.getZ()).setSource(cap);
|
cap = new SDFTranslate().setTranslate(last.getX(), last.getY(), last.getZ()).setSource(cap);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue