UNPKG

918 BTypeScriptView Raw
1import { VectorValue } from '../types';
2export declare const PSEUDO_ZERO = 1e-8;
3/**
4 * Vector magnitude.
5 * @param v
6 * @returns Number result.
7 */
8export declare function vectorMagnitude(v: VectorValue): number;
9/**
10 * Ratio between two vectors.
11 * @param u
12 * @param v
13 * @returns Number result.
14 */
15export declare function vectorsRatio(u: VectorValue, v: VectorValue): number;
16/**
17 * Angle between two vectors.
18 * @param u
19 * @param v
20 * @returns Number result.
21 */
22export declare function vectorsAngle(u: VectorValue, v: VectorValue): number;
23export declare function CB1(t: number): number;
24export declare function CB2(t: number): number;
25export declare function CB3(t: number): number;
26export declare function CB4(t: number): number;
27export declare function QB1(t: number): number;
28export declare function QB2(t: number): number;
29export declare function QB3(t: number): number;
30//# sourceMappingURL=math.d.ts.map
\No newline at end of file