UNPKG

@thi.ng/vectors

Version:

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

13 lines (12 loc) 235 B
import { defOp } from "./compile/emit.js"; import { ARGS_VVN, MATH2_N } from "./compile/templates.js"; const [submN, submN2, submN3, submN4] = defOp( MATH2_N("-", "*"), ARGS_VVN ); export { submN, submN2, submN3, submN4 };