andywiecko / BurstTriangulator

2d Delaunay triangulation with mesh refinement for Unity with Burst compiler
https://andywiecko.github.io/BurstTriangulator/
MIT License
166 stars 14 forks source link

refactor: remove dead code #133

Closed andywiecko closed 2 weeks ago

andywiecko commented 1 month ago

Remove dead code in the planting seed job. The condition id >= initialPointsCount is never satisfied. This dead code remained after a refactor that changed the order of refinement and hole planting. Previously, holes were planted after refinement, requiring some points to be removed. In the current implementation, where hole planting is done before refinement, no additional points need to be removed.