Skip to content

Commit 799670d

Browse files
committed
even more testing
1 parent 795716b commit 799670d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/eu/mihosoft/vrl/v3d/Plane.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,8 @@ public void splitPolygon(Polygon polygon, List<Polygon> coplanarFront, List<Poly
359359
negEpsilon = t - Plane.getEPSILON();
360360
}
361361
}
362+
if(posEpsilon>0.0001||negEpsilon<-0.0001)
363+
throw new RuntimeException("Faulty polygon epsilons!");
362364
PlaneType polygonType = PlaneType.COPLANAR;
363365
List<PlaneType> types = new ArrayList<>();
364366
boolean somePointsInfront = false;

0 commit comments

Comments
 (0)