mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-20 15:26:51 +00:00
Check carving sizes
This commit is contained in:
1 parent
d06445e04b
commit
9533b62ebf
1 file changed
+4
@@ -111,6 +111,10 @@ public class IrisCarving {
|
||||
max = Math.max(max, i.getSize(data));
|
||||
}
|
||||
|
||||
for (IrisRavinePlacer i : ravines) {
|
||||
max = Math.max(max, i.getSize(data));
|
||||
}
|
||||
|
||||
if (elipsoids.isNotEmpty()) {
|
||||
max = (int) Math.max(elipsoids.stream().mapToDouble(IrisElipsoid::maxSize).max().getAsDouble(), max);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user