Commit Graph

4 Commits

Author SHA1 Message Date
7c49e004b7 Speedup the mesh simplification
Change EdgeSet to use LinkedHashSet for better iteration, potentially.
Map polygon points to existing vertices to reduce unnecessary vertex duplication
Attempt to merge overlapping edges initially before doing anything else when simplifying
Use tree sets instead of priority queues for constant time poll
Split intersection calculation method into two separate methods
Rework which edges are actively within the scan zone to reduce the amount of edges to check when looking for intersections. This should help make the entire algorithm closer to O(nlogn)
Removed intersection classes
Added method to resolve only collinear edges around a vertex
Added method to resolve edge intersections directly from the edge, rather than the positive side
Added simple Y check to see if two edges can even intersect
Added method to calculate absolute vector
Added test plane by default to MeshingTest2(the plane viewer)
2025-05-25 21:34:35 -04:00
83e3b9443b Removed sorting when triangulating
Properly determine the insertion edge when triangulation to avoid having to sort each vertex later
Synchronize the plane viewer to prevent incorrect index saving when switching planes too quickly
Use the shape instead of collision shape for summoned physics objects
2025-05-24 22:04:20 -04:00
9fcab219af Updated the plugin to mesh chunks properly; Use the visual shape for chunk generation 2025-05-24 03:57:21 -04:00
a1899a52b7 Initial commit for historical purposes 2025-05-02 00:29:08 -04:00