@math.gl/core
Advanced tools
Comparing version 4.1.0-alpha.3 to 4.1.0-alpha.9
@@ -67,1 +67,2 @@ import { NumericArray } from '@math.gl/types'; | ||
} | ||
//# sourceMappingURL=math-array.d.ts.map |
@@ -227,1 +227,2 @@ // math.gl | ||
} | ||
//# sourceMappingURL=math-array.js.map |
@@ -14,1 +14,2 @@ import { NumericArray } from '@math.gl/types'; | ||
} | ||
//# sourceMappingURL=matrix.d.ts.map |
@@ -66,1 +66,2 @@ // math.gl | ||
} | ||
//# sourceMappingURL=matrix.js.map |
@@ -44,1 +44,2 @@ import { NumericArray } from '@math.gl/types'; | ||
} | ||
//# sourceMappingURL=vector.d.ts.map |
@@ -131,1 +131,2 @@ // math.gl | ||
} | ||
//# sourceMappingURL=vector.js.map |
@@ -77,1 +77,2 @@ import { MathArray } from "./base/math-array.js"; | ||
export {}; | ||
//# sourceMappingURL=euler.d.ts.map |
@@ -490,1 +490,2 @@ // math.gl | ||
} | ||
//# sourceMappingURL=euler.js.map |
@@ -1,2 +0,2 @@ | ||
import { NumericArray, NumberArray9 } from '@math.gl/types'; | ||
import { NumericArray, NumericArray9 } from '@math.gl/types'; | ||
import { Matrix } from "./base/matrix.js"; | ||
@@ -15,3 +15,3 @@ declare enum INDICES { | ||
/** Helper type that captures array length for a 3x3 matrix */ | ||
export type Matrix3Like = Matrix3 | NumberArray9; | ||
export type Matrix3Like = Matrix3 | NumericArray9; | ||
/** | ||
@@ -70,1 +70,2 @@ * A 3x3 matrix with common linear algebra operations | ||
export {}; | ||
//# sourceMappingURL=matrix3.d.ts.map |
@@ -211,1 +211,2 @@ // math.gl | ||
} | ||
//# sourceMappingURL=matrix3.js.map |
@@ -1,2 +0,2 @@ | ||
import { NumericArray, NumberArray16 } from '@math.gl/types'; | ||
import { NumericArray, NumericArray16 } from '@math.gl/types'; | ||
import { Matrix } from "./base/matrix.js"; | ||
@@ -22,3 +22,3 @@ declare enum INDICES { | ||
/** Helper type that captures array length for a 4x4 matrix */ | ||
export type Matrix4Like = Matrix4 | NumberArray16; | ||
export type Matrix4Like = Matrix4 | NumericArray16; | ||
/** | ||
@@ -232,1 +232,2 @@ * A 4x4 matrix with common linear algebra operations | ||
export {}; | ||
//# sourceMappingURL=matrix4.d.ts.map |
@@ -549,1 +549,2 @@ // math.gl | ||
} | ||
//# sourceMappingURL=matrix4.js.map |
@@ -40,1 +40,2 @@ import { Matrix4 } from "./matrix4.js"; | ||
export {}; | ||
//# sourceMappingURL=pose.d.ts.map |
@@ -112,1 +112,2 @@ // math.gl | ||
} | ||
//# sourceMappingURL=pose.js.map |
@@ -63,1 +63,2 @@ import { NumericArray } from '@math.gl/types'; | ||
} | ||
//# sourceMappingURL=quaternion.d.ts.map |
@@ -269,1 +269,2 @@ // math.gl | ||
} | ||
//# sourceMappingURL=quaternion.js.map |
@@ -60,1 +60,2 @@ import { NumericArray } from '@math.gl/types'; | ||
export {}; | ||
//# sourceMappingURL=spherical-coordinates.d.ts.map |
@@ -150,1 +150,2 @@ // math.gl | ||
} | ||
//# sourceMappingURL=spherical-coordinates.js.map |
@@ -1,5 +0,5 @@ | ||
import { NumericArray, NumberArray2 } from '@math.gl/types'; | ||
import { NumericArray, NumericArray2 } from '@math.gl/types'; | ||
import { Vector } from "./base/vector.js"; | ||
/** Helper type that captures array length for a 2 element vector */ | ||
export type Vector2Like = Vector2 | NumberArray2; | ||
export type Vector2Like = Vector2 | NumericArray2; | ||
/** | ||
@@ -57,1 +57,2 @@ * Two-element vector class with common linear algebra operations. | ||
} | ||
//# sourceMappingURL=vector2.d.ts.map |
@@ -113,1 +113,2 @@ // math.gl | ||
} | ||
//# sourceMappingURL=vector2.js.map |
@@ -1,5 +0,5 @@ | ||
import { NumericArray, NumberArray3 } from '@math.gl/types'; | ||
import { NumericArray, NumericArray3 } from '@math.gl/types'; | ||
import { Vector } from "./base/vector.js"; | ||
/** Helper type that captures array length for a 3 element vector */ | ||
export type Vector3Like = Vector3 | NumberArray3; | ||
export type Vector3Like = Vector3 | NumericArray3; | ||
/** | ||
@@ -58,1 +58,2 @@ * Three-element vector class with common linear algebra operations. | ||
} | ||
//# sourceMappingURL=vector3.d.ts.map |
@@ -139,1 +139,2 @@ // math.gl | ||
} | ||
//# sourceMappingURL=vector3.js.map |
@@ -1,6 +0,6 @@ | ||
import { NumericArray, NumberArray4 } from '@math.gl/types'; | ||
import { NumericArray, NumericArray4 } from '@math.gl/types'; | ||
import { Vector } from "./base/vector.js"; | ||
import type { Matrix4 } from "./matrix4.js"; | ||
/** Helper type that captures array length for a 4 element vector */ | ||
export type Vector4Like = Vector4 | NumberArray4; | ||
export type Vector4Like = Vector4 | NumericArray4; | ||
/** | ||
@@ -43,1 +43,2 @@ * Four-element vector class with common linear algebra operations. | ||
} | ||
//# sourceMappingURL=vector4.d.ts.map |
@@ -117,1 +117,2 @@ // math.gl | ||
} | ||
//# sourceMappingURL=vector4.js.map |
@@ -38,1 +38,2 @@ /** | ||
export const ANGLE_ORDER: "zyx"; | ||
//# sourceMappingURL=common.d.ts.map |
@@ -52,1 +52,2 @@ // @eslint-disable | ||
} | ||
//# sourceMappingURL=common.js.map |
@@ -287,1 +287,2 @@ /** | ||
export declare const sub: typeof subtract; | ||
//# sourceMappingURL=mat3.d.ts.map |
@@ -764,1 +764,2 @@ import * as glMatrix from './common.js'; | ||
export const sub = subtract; | ||
//# sourceMappingURL=mat3.js.map |
@@ -550,1 +550,2 @@ /** | ||
export declare const sub: typeof subtract; | ||
//# sourceMappingURL=mat4.d.ts.map |
@@ -1996,1 +1996,2 @@ // @eslint-disable | ||
export const sub = subtract; | ||
//# sourceMappingURL=mat4.js.map |
@@ -357,1 +357,2 @@ import * as vec4 from './vec4.js'; | ||
export declare const setAxes: (out: any, view: any, right: any, up: any) => any; | ||
//# sourceMappingURL=quat.d.ts.map |
@@ -714,1 +714,2 @@ // @eslint-disable | ||
})(); | ||
//# sourceMappingURL=quat.js.map |
@@ -364,1 +364,2 @@ import type { NumericArray } from '@math.gl/types'; | ||
export declare const forEach: (a: any, stride: any, offset: any, count: any, fn: any, arg: any) => any; | ||
//# sourceMappingURL=vec2.d.ts.map |
@@ -575,1 +575,2 @@ // @eslint-disable | ||
})(); | ||
//# sourceMappingURL=vec2.js.map |
@@ -406,1 +406,2 @@ /** | ||
export declare const forEach: (a: any, stride: any, offset: any, count: any, fn: any, arg: any) => any; | ||
//# sourceMappingURL=vec3.d.ts.map |
@@ -753,1 +753,2 @@ // @eslint-disable | ||
})(); | ||
//# sourceMappingURL=vec3.js.map |
@@ -330,1 +330,2 @@ /** | ||
export declare const forEach: (a: any, stride: any, offset: any, count: any, fn: any, arg: any) => any; | ||
//# sourceMappingURL=vec4.d.ts.map |
@@ -621,1 +621,2 @@ // @eslint-disable | ||
})(); | ||
//# sourceMappingURL=vec4.js.map |
@@ -5,1 +5,2 @@ import * as mat2 from './mat2.js'; | ||
export { glMatrix, mat2, mat2d, mat3, mat4, quat, quat2, vec2, vec3, vec4 }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -17,1 +17,2 @@ // math.gl | ||
export { glMatrix, mat2, mat2d, mat3, mat4, quat, quat2, vec2, vec3, vec4 }; | ||
//# sourceMappingURL=index.js.map |
@@ -229,1 +229,2 @@ /** | ||
export function sub(out: mat2, a: ReadonlyMat2, b: ReadonlyMat2): mat2; | ||
//# sourceMappingURL=mat2.d.ts.map |
@@ -388,1 +388,2 @@ // math.gl | ||
export const sub = subtract; | ||
//# sourceMappingURL=mat2.js.map |
@@ -244,1 +244,2 @@ /** | ||
export function sub(out: mat2d, a: ReadonlyMat2d, b: ReadonlyMat2d): mat2d; | ||
//# sourceMappingURL=mat2d.d.ts.map |
@@ -430,1 +430,2 @@ // math.gl | ||
export const sub = subtract; | ||
//# sourceMappingURL=mat2d.js.map |
@@ -352,1 +352,2 @@ /** | ||
export declare function equals(a: any, b: any): boolean; | ||
//# sourceMappingURL=quat2.d.ts.map |
@@ -724,1 +724,2 @@ // math.gl | ||
} | ||
//# sourceMappingURL=quat2.js.map |
@@ -35,1 +35,2 @@ export type { TypedArray, TypedArrayConstructor, NumericArray, NumberArray, NumberArray2, NumberArray3, NumberArray4, NumberArray6, NumberArray8, NumberArray9, NumberArray12, NumberArray16 } from '@math.gl/types'; | ||
export * as vec4 from "./gl-matrix/vec4.js"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -39,1 +39,2 @@ // math.gl | ||
export * as vec4 from "./gl-matrix/vec4.js"; | ||
//# sourceMappingURL=index.js.map |
export declare function assert(condition: unknown, message?: string): void; | ||
//# sourceMappingURL=assert.d.ts.map |
@@ -9,1 +9,2 @@ // math.gl | ||
} | ||
//# sourceMappingURL=assert.js.map |
@@ -100,1 +100,2 @@ import type { NumericArray } from '@math.gl/types'; | ||
export declare function withEpsilon<T>(epsilon: number, func: () => T): T; | ||
//# sourceMappingURL=common.d.ts.map |
@@ -216,1 +216,2 @@ // math.gl | ||
} | ||
//# sourceMappingURL=common.js.map |
@@ -7,1 +7,2 @@ import { NumericArray } from '@math.gl/types'; | ||
export declare function vec4_transformMat3<T extends NumericArray>(out: T, a: Readonly<NumericArray>, m: Readonly<NumericArray>): T; | ||
//# sourceMappingURL=gl-matrix-extras.d.ts.map |
@@ -53,1 +53,2 @@ // math.gl | ||
} | ||
//# sourceMappingURL=gl-matrix-extras.js.map |
@@ -25,1 +25,2 @@ export declare const EPSILON1 = 0.1; | ||
export declare const TWO_PI: number; | ||
//# sourceMappingURL=math-utils.d.ts.map |
@@ -30,1 +30,2 @@ // math.gl | ||
export const TWO_PI = Math.PI * 2; | ||
//# sourceMappingURL=math-utils.js.map |
@@ -6,1 +6,2 @@ import { NumericArray } from '@math.gl/types'; | ||
export declare function deprecated(method: string, version: string): void; | ||
//# sourceMappingURL=validators.d.ts.map |
@@ -37,1 +37,2 @@ // math.gl | ||
} | ||
//# sourceMappingURL=validators.js.map |
@@ -9,3 +9,3 @@ { | ||
}, | ||
"version": "4.1.0-alpha.3", | ||
"version": "4.1.0-alpha.9", | ||
"keywords": [ | ||
@@ -29,3 +29,3 @@ "webgl", | ||
"type": "git", | ||
"url": "https://github.com/uber-web/math.gl.git" | ||
"url": "https://github.com/visgl/math.gl.git" | ||
}, | ||
@@ -50,5 +50,5 @@ "types": "dist/index.d.ts", | ||
"dependencies": { | ||
"@math.gl/types": "4.1.0-alpha.3" | ||
"@math.gl/types": "4.1.0-alpha.9" | ||
}, | ||
"gitHead": "566d5ec1819367a7d7e98b413eed6f951913c35b" | ||
"gitHead": "fa5b6ee40cb05456fa32f85989abfa62e087f45e" | ||
} |
@@ -53,3 +53,3 @@ // math.gl | ||
: // @ts-ignore | ||
this.fromObject(arrayOrObject); | ||
this.fromObject(arrayOrObject); | ||
} | ||
@@ -56,0 +56,0 @@ |
@@ -6,3 +6,3 @@ // math.gl | ||
import {NumericArray, NumberArray9} from '@math.gl/types'; | ||
import {NumericArray, NumericArray9} from '@math.gl/types'; | ||
import {Matrix} from './base/matrix'; | ||
@@ -42,3 +42,3 @@ import {checkVector} from '../lib/validators'; | ||
/** Helper type that captures array length for a 3x3 matrix */ | ||
export type Matrix3Like = Matrix3 | NumberArray9; | ||
export type Matrix3Like = Matrix3 | NumericArray9; | ||
@@ -45,0 +45,0 @@ /** |
@@ -6,3 +6,3 @@ // math.gl | ||
import {NumericArray, NumberArray16} from '@math.gl/types'; | ||
import {NumericArray, NumericArray16} from '@math.gl/types'; | ||
import {Matrix} from './base/matrix'; | ||
@@ -63,3 +63,3 @@ import {checkVector} from '../lib/validators'; | ||
/** Helper type that captures array length for a 4x4 matrix */ | ||
export type Matrix4Like = Matrix4 | NumberArray16; | ||
export type Matrix4Like = Matrix4 | NumericArray16; | ||
@@ -66,0 +66,0 @@ /** |
@@ -6,3 +6,3 @@ // math.gl | ||
import {NumericArray, NumberArray2} from '@math.gl/types'; | ||
import {NumericArray, NumericArray2} from '@math.gl/types'; | ||
@@ -21,3 +21,3 @@ import {Vector} from './base/vector'; | ||
/** Helper type that captures array length for a 2 element vector */ | ||
export type Vector2Like = Vector2 | NumberArray2; | ||
export type Vector2Like = Vector2 | NumericArray2; | ||
@@ -24,0 +24,0 @@ /** |
@@ -6,3 +6,3 @@ // math.gl | ||
import {NumericArray, NumberArray3} from '@math.gl/types'; | ||
import {NumericArray, NumericArray3} from '@math.gl/types'; | ||
import {Vector} from './base/vector'; | ||
@@ -30,3 +30,3 @@ import {config, isArray} from '../lib/common'; | ||
/** Helper type that captures array length for a 3 element vector */ | ||
export type Vector3Like = Vector3 | NumberArray3; | ||
export type Vector3Like = Vector3 | NumericArray3; | ||
@@ -33,0 +33,0 @@ /** |
@@ -6,3 +6,3 @@ // math.gl | ||
import {NumericArray, NumberArray4} from '@math.gl/types'; | ||
import {NumericArray, NumericArray4} from '@math.gl/types'; | ||
/* eslint-disable camelcase */ | ||
@@ -24,3 +24,3 @@ import { | ||
/** Helper type that captures array length for a 4 element vector */ | ||
export type Vector4Like = Vector4 | NumberArray4; | ||
export type Vector4Like = Vector4 | NumericArray4; | ||
@@ -27,0 +27,0 @@ /** |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1634859
151
+ Added@math.gl/types@4.1.0-alpha.9(transitive)
- Removed@math.gl/types@4.1.0-alpha.3(transitive)
Updated@math.gl/types@4.1.0-alpha.9