UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

26 lines 912 B
/** * SI base dimensions, used as indices into a {@link UnitMatrix } exponent vector. * * Every physical quantity can be expressed as a product of integer (or rational) powers of these * 7 base dimensions. See: https://en.wikipedia.org/wiki/International_System_of_Units * * The companion {@link UNIT_DIMENSION_MAPPING } array assigns the canonical SI base unit * (`METER`, `KILOGRAM`, ...) to each dimension index — that is the source of truth for * per-dimension display symbols. */ export type UnitDimension = number; export namespace UnitDimension { let Length: number; let Mass: number; let Time: number; let ElectricCurrent: number; let Temperature: number; let AmountOfSubstance: number; let LuminousIntensity: number; } /** * Number of SI base dimensions. * @type {number} */ export const UNIT_DIMENSION_COUNT: number; //# sourceMappingURL=UnitDimension.d.ts.map