This commit is contained in:
Mészáros Gergely 2021-12-08 13:05:06 +01:00
parent ab0a385175
commit 500c40ba92

View file

@ -170,7 +170,7 @@ window.Submap = (function () {
"oldparent", oldCells.g[oid], "newparent", cells.g[id],
"oldheight:", oldGrid.cells.h[oldCells.g[oid]],
"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 nd = distance(projection(oldpx, oldpx, false));