Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-09 21:10:05 +01:00
Minor polyhedron changes.
Dieser Commit ist enthalten in:
Ursprung
a669ef95c6
Commit
60f44be298
@ -134,12 +134,6 @@ public class ConvexPolyhedralRegion extends AbstractRegion {
|
||||
|
||||
centerAccum = centerAccum.add(vertex);
|
||||
|
||||
/*if (contains(vertex)) {
|
||||
return true;
|
||||
}*/
|
||||
|
||||
lastTriangle = null;
|
||||
|
||||
if (minimumPoint == null) {
|
||||
minimumPoint = maximumPoint = vertex;
|
||||
} else {
|
||||
@ -194,12 +188,17 @@ public class ConvexPolyhedralRegion extends AbstractRegion {
|
||||
}
|
||||
|
||||
if (!vertexBacklog.isEmpty()) {
|
||||
// Remove the new vertex
|
||||
vertices.remove(vertex);
|
||||
|
||||
// Clone, clear and work through the backlog
|
||||
final List<Vector> vertexBacklog2 = new ArrayList<Vector>(vertexBacklog);
|
||||
vertexBacklog.clear();
|
||||
for (Vector vertex2 : vertexBacklog2) {
|
||||
addVertex(vertex2);
|
||||
}
|
||||
|
||||
// Re-add the new vertex after the backlog.
|
||||
vertices.add(vertex);
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren