UNPKG

vek-engine

Version:

Efficient WebAssembly-based vector math engine for JavaScript/TypeScript

30 lines 1.33 kB
/** *********************************************************************** * Copyright 2022-present Jonathan Barronville * * * * This Source Code Form is subject to the terms of the Mozilla Public * * License, v. 2.0. If a copy of the MPL was not distributed with this * * file, You can obtain one at https://mozilla.org/MPL/2.0/. * *********************************************************************** */ import { createClassFactory } from './vector.mjs'; import { v } from './vector.mjs'; import { Vector } from './vector.mjs'; import type { VectorModalityT } from './vector.mjs'; import { VectorModalityType } from './vector.mjs'; import type { VectorOptionsT } from './vector.mjs'; import { VectorPrecision } from './vector.mjs'; declare global { interface Vek { createClassFactory?: typeof createClassFactory; v?: typeof v; Vector?: typeof Vector; VectorModalityType?: typeof VectorModalityType; VectorPrecision?: typeof VectorPrecision; } interface Window { vek?: Vek; } } export { Vector as default, createClassFactory, v, Vector, type VectorModalityT, VectorModalityType, type VectorOptionsT, VectorPrecision, }; //# sourceMappingURL=index.d.mts.map