Separate boundary/ghost phases from poisson disk creation
redblobgames opened this issue · 1 comments
redblobgames commented
The create module combines:
- poisson disk point selection
- boundary point selection
- sanity checks
- ghost region/side/triangle creation
But all of these aren't always needed.
- If using a pre-selected set of points, they need ghost creation but not the rest
- Sometimes boundary points aren't needed with the poisson disk points
- Sometimes boundary points are needed with the pre-selected points, but the module also inserts poisson disk points when there are boundary points
These should be split up so that the caller can choose which are needed.
redblobgames commented
Fixed by a5f5a8f