ey6es / phantasml

Web-based collaborative "creature lab" for machine learning/AI research and education.
https://www.phantasml.com
MIT License
2 stars 3 forks source link

Merge collision triangles into convex polygons. #46

Closed ey6es closed 5 years ago

ey6es commented 5 years ago

The earcut algorithm generates triangles, but for collisions, arbitrary convex polygons will be more efficient.