@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
15 lines (13 loc) • 382 B
JavaScript
import { NamedUnit } from "../NamedUnit.js";
import { UnitMatrix } from "../UnitMatrix.js";
/**
* Dimensionless unit (every base exponent is zero). Useful as the identity for unit
* multiplication/division.
* @type {NamedUnit}
*/
export const DIMENSIONLESS = new NamedUnit(
'Dimensionless',
'',
'A pure scalar with no physical dimensions.',
new UnitMatrix()
);