@thi.ng/matrices
Version:
Matrix & quaternion operations for 2D/3D geometry processing
14 lines (13 loc) • 296 B
JavaScript
import { addN as _addN, addN4 } from "@thi.ng/vectors/addn";
import { $add } from "@thi.ng/vectors/ops";
import { defMathN } from "./defmath.js";
const addN = _addN;
const addN22 = addN4;
const [addN23, addN33, addN44] = defMathN($add);
export {
addN,
addN22,
addN23,
addN33,
addN44
};