mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-23 12:31:24 +01:00
add dot
This commit is contained in:
parent
ab0a385175
commit
500c40ba92
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ window.Submap = (function () {
|
||||||
"oldparent", oldCells.g[oid], "newparent", cells.g[id],
|
"oldparent", oldCells.g[oid], "newparent", cells.g[id],
|
||||||
"oldheight:", oldGrid.cells.h[oldCells.g[oid]],
|
"oldheight:", oldGrid.cells.h[oldCells.g[oid]],
|
||||||
"newheight", grid.cells.h[cells.g[id]])
|
"newheight", grid.cells.h[cells.g[id]])
|
||||||
throw new Error("should be the same type")
|
throw new Error("should be the same type.")
|
||||||
}
|
}
|
||||||
const [oldpx, oldpy]= oldCells.p[oid];
|
const [oldpx, oldpy]= oldCells.p[oid];
|
||||||
const nd = distance(projection(oldpx, oldpx, false));
|
const nd = distance(projection(oldpx, oldpx, false));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue