mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
v1.6.08 - Planimeter class
This commit is contained in:
parent
ca1acce48c
commit
130cc7ebaf
3 changed files with 98 additions and 160 deletions
2
main.js
2
main.js
|
|
@ -1028,7 +1028,7 @@ function drawCoastline() {
|
|||
if (f === largestLand) {
|
||||
const from = points[d3.scan(points, (a, b) => a[0] - b[0])];
|
||||
const to = points[d3.scan(points, (a, b) => b[0] - a[0])];
|
||||
rulers.linear([from, to]);
|
||||
rulers.create(Ruler, [from, to]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue