let's skip triangulation since we do 3d rendering differently now, if ever
This commit is contained in:
parent
059e7ba434
commit
3c3556dd73
1 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,11 @@ def get_face_indizes(start, length):
|
|||
|
||||
|
||||
def triangulate_rings(rings, holes=None):
|
||||
return (
|
||||
np.zeros((0, 2), dtype=np.uint32),
|
||||
np.zeros((0, 3), dtype=np.uint32),
|
||||
)
|
||||
|
||||
rings = tuple(
|
||||
tuple(tuple(vertex) for vertex in np.rint(np.array(ring.coords)*1000).astype(np.int32))
|
||||
for ring in rings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue