UNPKG

@thi.ng/matrices

Version:

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

14 lines (13 loc) 296 B
import { $sub } from "@thi.ng/vectors/ops"; import { subN as _subN, subN4 } from "@thi.ng/vectors/subn"; import { defMathN } from "./defmath.js"; const subN = _subN; const subN22 = subN4; const [subN23, subN33, subN44] = defMathN($sub); export { subN, subN22, subN23, subN33, subN44 };