UNPKG

@thi.ng/vectors

Version:

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

11 lines (10 loc) 264 B
import { rad } from "@thi.ng/math/angle"; import { defHofOp } from "./compile/emit.js"; import { FN } from "./compile/templates.js"; const [radians, radians2, radians3, radians4] = defHofOp(rad, FN("op")); export { radians, radians2, radians3, radians4 };