UNPKG

@thi.ng/vectors

Version:

Optimized 2d/3d/4d and arbitrary length vector operations, support for memory mapping/layouts

14 lines (13 loc) 245 B
import { roundTo } from "@thi.ng/math/prec"; import { defOpVV } from "./defopvv.js"; const [a, b, c, d] = defOpVV(roundTo); const round = a; const round2 = b; const round3 = c; const round4 = d; export { round, round2, round3, round4 };