UNPKG

@thi.ng/matrices

Version:

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

13 lines (12 loc) 243 B
import { add as _add, add4 } from "@thi.ng/vectors/add"; import { defMath } from "./compile/emit.js"; const add = _add; const add22 = add4; const [add23, add33, add44] = defMath(add, "+"); export { add, add22, add23, add33, add44 };