Model loading · const

DEFAULT_COARSE_CELLS

The grid this uses when nobody names a resolution, exported because two other places used to carry their own copy of the number and disagreed with it.

Explained in Importing models.

const DEFAULT_COARSE_CELLS = 40
import { DEFAULT_COARSE_CELLS } from '@driftengine/assets';

In depth

The baker printed 32 and the browser's converter passed nothing, so one path wrote an outline at 32 cells and the other at 40, and the same model taken through the two arrived differently for no stated reason. A default that callers restate is a default in name only.