9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-27 19:19:07 +00:00

Check carving sizes

This commit is contained in:
cyberpwn
2021-09-04 13:54:19 -04:00
parent d06445e04b
commit 9533b62ebf

View File

@@ -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);
}