mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 22:32:04 +00:00
Check carving sizes
This commit is contained in:
@@ -111,6 +111,10 @@ public class IrisCarving {
|
|||||||
max = Math.max(max, i.getSize(data));
|
max = Math.max(max, i.getSize(data));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (IrisRavinePlacer i : ravines) {
|
||||||
|
max = Math.max(max, i.getSize(data));
|
||||||
|
}
|
||||||
|
|
||||||
if (elipsoids.isNotEmpty()) {
|
if (elipsoids.isNotEmpty()) {
|
||||||
max = (int) Math.max(elipsoids.stream().mapToDouble(IrisElipsoid::maxSize).max().getAsDouble(), max);
|
max = (int) Math.max(elipsoids.stream().mapToDouble(IrisElipsoid::maxSize).max().getAsDouble(), max);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user