@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
14 lines • 682 B
TypeScript
/**
* Canonical mapping from each {@link UnitDimension} index to the {@link NamedUnit} that
* represents it in SI: `[METER, KILOGRAM, SECOND, AMPERE, KELVIN, MOLE, CANDELA]`.
*
* Acts as the single source of truth for per-dimension display symbols when rendering a
* {@link UnitMatrix} via {@link unit_matrix_to_string} or {@link format_quantity}. Callers
* that want different symbols (e.g. imperial units, localisation) can pass a replacement
* `NamedUnit[]` to those functions; the entries' `.symbol` fields are read in dimension
* order.
*
* @type {NamedUnit[]}
*/
export const UNIT_DIMENSION_MAPPING: NamedUnit[];
//# sourceMappingURL=UNIT_DIMENSION_MAPPING.d.ts.map