UNPKG

@thi.ng/vectors

Version:

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

13 lines (12 loc) 212 B
import { defOpV } from "./defopv.js"; const [a, b, c, d] = defOpV((a2) => 1 / a2); const invert = a; const invert2 = b; const invert3 = c; const invert4 = d; export { invert, invert2, invert3, invert4 };