UNPKG

@thi.ng/matrices

Version:

Matrix & quaternion operations for 2D/3D geometry processing

13 lines (12 loc) 243 B
import { mul as _mul, mul4 } from "@thi.ng/vectors/mul"; import { defMath } from "./compile/emit.js"; const mul = _mul; const mul22 = mul4; const [mul23, mul33, mul44] = defMath(mul, "*"); export { mul, mul22, mul23, mul33, mul44 };