tweak
This commit is contained in:
parent
db8265384c
commit
f420a3f8f3
13 changed files with 396 additions and 325 deletions
|
|
@ -1,5 +1,4 @@
|
|||
import { MAP_W, MAP_H, CELL_SIZE, indexOf } from "./mapGenerator.js";
|
||||
import { clamp } from "./grid.js";
|
||||
import { CELL_SIZE, MAP_H, MAP_W, clamp, indexOf } from "./mapUtils.js";
|
||||
|
||||
function distToNearest(points, x, y, fallback = 999) {
|
||||
let best = fallback;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue