tweak
This commit is contained in:
parent
db8265384c
commit
f420a3f8f3
13 changed files with 396 additions and 325 deletions
|
|
@ -8,13 +8,9 @@ import {
|
|||
smoothAdminRegionsTerrainAware,
|
||||
snapAdminBoundariesToTerrain,
|
||||
} from "./adminRegions.js";
|
||||
import { pickEntities } from "./entitySelection.js";
|
||||
import { createMapFields } from "./fields.js";
|
||||
import { MinHeap } from "./graph.js";
|
||||
import { CELL_SIZE, INF, MAP_H, MAP_W, SIZE, clamp, indexOf, inside, nearMapEdge, xyOf } from "./grid.js";
|
||||
import { fbm, hash2, lerp, rand, smoothstep, valueNoise } from "./random.js";
|
||||
import { CELL_SIZE, INF, MAP_H, MAP_W, SIZE, MinHeap, clamp, createMapFields, fbm, hash2, indexOf, inside, lerp, nearMapEdge, pickEntities, rand, smoothstep, valueNoise, xyOf } from "./mapUtils.js";
|
||||
|
||||
export { CELL_SIZE, MAP_H, MAP_W, indexOf } from "./grid.js";
|
||||
export { CELL_SIZE, MAP_H, MAP_W, indexOf } from "./mapUtils.js";
|
||||
|
||||
function neighbors8(x, y) {
|
||||
const out = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue