UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

14 lines (12 loc) 344 B
import { NamedUnit } from "../../NamedUnit.js"; import { UnitMatrix } from "../../UnitMatrix.js"; /** * SI derived unit of power. 1 W = 1 J / s = 1 kg·m^2 / s^3. * @type {NamedUnit} */ export const WATT = new NamedUnit( 'Watt', 'W', 'SI derived unit of power. 1 W = 1 J / s.', new UnitMatrix().set(2, 1, -3, 0, 0, 0, 0) );