Minor cleanup

This commit is contained in:
Paul Mathieu 2021-12-26 12:41:34 -08:00
parent 61d3d67df0
commit 6a219e7e45
3 changed files with 2 additions and 3 deletions

View File

@ -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++) {

View File

@ -1,5 +1,3 @@
import * as se3 from './se3';
function memoize(f) {
const memo = {};

View File

@ -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";