diff --git a/game.js b/game.js index 5c7a5bd..7914d56 100644 --- a/game.js +++ b/game.js @@ -136,6 +136,7 @@ function memoize(f) { return g; } +/** From far to near. */ function _getChunkOrder(chunki, chunkj) { return [...function* () { for (let i = chunki - 8; i < chunki + 8; i++) { diff --git a/geometry.js b/geometry.js index f6dd064..45c66b6 100644 --- a/geometry.js +++ b/geometry.js @@ -1,5 +1,3 @@ -import * as se3 from './se3'; - function memoize(f) { const memo = {}; diff --git a/world.js b/world.js index 1344bc4..a80fe18 100644 --- a/world.js +++ b/world.js @@ -1,4 +1,4 @@ -import { makeBufferFromFaces, makeFace} from "./geometry"; +import { makeBufferFromFaces, makeFace } from "./geometry"; import { loadTexture, makeProgram } from "./gl"; import * as se3 from './se3'; import { makeTerrain, random } from "./terrain";