mirror of
https://github.com/jhasse/poly2tri.git
synced 2024-11-05 13:59:53 +01:00
removed assert
This commit is contained in:
parent
91c722558a
commit
3d9b6d8a83
@ -209,7 +209,6 @@ def line_intersect(edge, x):
|
||||
class Triangulator(object):
|
||||
|
||||
def __init__(self, poly_line):
|
||||
assert len(poly_line) > 3, "Number of points must be > 3"
|
||||
self.polygons = []
|
||||
self.trapezoids = []
|
||||
self.xmono_poly = []
|
||||
|
Loading…
Reference in New Issue
Block a user