modified triangulation method

This commit is contained in:
Pilar 2023-02-10 05:43:04 -05:00
parent a258d33dc9
commit 074156f464

View File

@ -91,7 +91,7 @@ class Polyhedron:
face = []
points = polygon.coordinates
if len(points) != 3:
sub_polygons = polygon.triangulate()
sub_polygons = polygon.triangles
# todo: I modified this! To be checked @Guille
if len(sub_polygons) >= 1:
for sub_polygon in sub_polygons: