delaunnay pure impl

This commit is contained in:
2019-11-15 23:12:49 +03:00
parent cc017e3781
commit 7b4a3c3200
3 changed files with 47 additions and 1 deletions

View File

@ -40,7 +40,7 @@ func DelaunayMstExtGen(ctx appctx.ClientCtx, l *gamemap.Level) (*gamemap.Level,
MedianStraight(rng, l, rooms, centers, edge)
outlyingCorridors = append(outlyingCorridors, edge)
outlyingCorrCount++
if outlyingCorrCount > 5 {
if outlyingCorrCount > 8 {
break
}
}