UNPKG

@thi.ng/vectors

Version:

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

24 lines (23 loc) 506 B
import { defBitOp, defBitOpN } from "./compile/emit.js"; const [bitOrI, bitOrI2, bitOrI3, bitOrI4] = defBitOp("|", true); const [bitOrU, bitOrU2, bitOrU3, bitOrU4] = defBitOp("|"); const [bitOrNI, bitOrNI2, bitOrNI3, bitOrNI4] = defBitOpN("|", true); const [bitOrNU, bitOrNU2, bitOrNU3, bitOrNU4] = defBitOpN("|"); export { bitOrI, bitOrI2, bitOrI3, bitOrI4, bitOrNI, bitOrNI2, bitOrNI3, bitOrNI4, bitOrNU, bitOrNU2, bitOrNU3, bitOrNU4, bitOrU, bitOrU2, bitOrU3, bitOrU4 };