We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6196ad1 commit d0e54a9Copy full SHA for d0e54a9
1 file changed
src/main/java/eu/mihosoft/vrl/v3d/ext/quickhull3d/HullUtil.java
@@ -44,11 +44,9 @@ public static CSG hull(List<?> points) {
44
return hull(plist, new PropertyStorage());
45
}
46
if (CSG.class.isInstance(points.get(0))) {
47
- for (Object csg : points) {
48
- CSG csg2 = (CSG) csg;
49
- for (int i = 0; i < csg2.getNumberOfTriangles() * 3; i++) {
50
- plist.add(csg2.vertexAt(i));
51
- }
+ for (Object c : points) {
+ CSG csg = (CSG) c;
+ plist.addAll(csg.getPoints());
52
53
54
0 commit comments