import { Mat3, Vec3 } from "./types.js"; //#region src/vec.d.ts declare const dot: (a: Vec3, b: Vec3) => number; declare const cross: (a: Vec3, b: Vec3) => Vec3; declare function norm3(a: Vec3): Vec3; declare const scale3: (a: Vec3, k: number) => Vec3; declare const add3: (a: Vec3, b: Vec3) => Vec3; declare const sub3: (a: Vec3, b: Vec3) => Vec3; declare function matApply(m: Mat3, v: Vec3): Vec3; declare function matMul(a: Mat3, b: Mat3): Mat3; declare const identity: () => Mat3; declare function rotX(t: number): Mat3; declare function rotY(t: number): Mat3; declare function rotZ(t: number): Mat3; /** Any orthonormal pair perpendicular to `axis`. */ declare function basisFor(axis: Vec3): [Vec3, Vec3]; //#endregion export { add3, basisFor, cross, dot, identity, matApply, matMul, norm3, rotX, rotY, rotZ, scale3, sub3 };