More fixes

This commit is contained in:
paulevsGitch 2020-12-26 20:15:16 +03:00
parent 718b3a6fc4
commit 52e5600bb8

View file

@ -48,6 +48,9 @@ public class JellyshroomFeature extends DefaultFeature {
});
radius = height * MHelper.randRange(0.7F, 0.9F, random);
if (radius < 1.5F) {
radius = 1.5F;
}
SDF cap = makeCap(radius, random, membrane);
Vector3f last = spline.get(spline.size() - 1);
cap = new SDFTranslate().setTranslate(last.getX(), last.getY(), last.getZ()).setSource(cap);