fix: drawCoastline - detect first vertex based on neibs first

This commit is contained in:
max 2022-07-23 17:54:01 +03:00
parent cc3c06f595
commit 4a15dc3243
5 changed files with 31 additions and 23 deletions

View file

@ -62,6 +62,7 @@ async function generate(options?: IGenerationOptions) {
pack = newPack;
// temp rendering for debug
renderLayer("cells");
renderLayer("coastline", pack.vertices, pack.features);
renderLayer("heightmap");
renderLayer("rivers", pack);