@types/three 0.184.0 → 0.184.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- three/README.md +1 -1
- three/package.json +2 -2
- three/src/math/Matrix2.d.ts +1 -1
- three/src/math/Matrix3.d.ts +1 -1
- three/src/math/Matrix4.d.ts +1 -1
- three/src/math/Vector2.d.ts +1 -2
- three/src/math/Vector3.d.ts +1 -2
- three/src/math/Vector4.d.ts +1 -2
three/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for three (https://threejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/three.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 06 May 2026 23:46:00 GMT
|
|
12
12
|
* Dependencies: [@dimforge/rapier3d-compat](https://npmjs.com/package/@dimforge/rapier3d-compat), [@tweenjs/tween.js](https://npmjs.com/package/@tweenjs/tween.js), [@types/stats.js](https://npmjs.com/package/@types/stats.js), [@types/webxr](https://npmjs.com/package/@types/webxr), [fflate](https://npmjs.com/package/fflate), [meshoptimizer](https://npmjs.com/package/meshoptimizer)
|
|
13
13
|
|
|
14
14
|
# Credits
|
three/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/three",
|
|
3
|
-
"version": "0.184.
|
|
3
|
+
"version": "0.184.1",
|
|
4
4
|
"description": "TypeScript definitions for three",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/three",
|
|
6
6
|
"license": "MIT",
|
|
@@ -48,6 +48,6 @@
|
|
|
48
48
|
"meshoptimizer": "~1.1.1"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {},
|
|
51
|
-
"typesPublisherContentHash": "
|
|
51
|
+
"typesPublisherContentHash": "67363064a17642624b2c45fc4f61890fb71a24dafc84869a7c0661c82d47d208",
|
|
52
52
|
"typeScriptVersion": "5.3"
|
|
53
53
|
}
|
three/src/math/Matrix2.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export type Matrix2Tuple = [
|
|
|
12
12
|
* const m = new Matrix2();
|
|
13
13
|
*/
|
|
14
14
|
export class Matrix2 {
|
|
15
|
-
|
|
15
|
+
readonly isMatrix2: true;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* A {@link https://en.wikipedia.org/wiki/Row-_and_column-major_order column-major} list of matrix values.
|
three/src/math/Matrix3.d.ts
CHANGED
three/src/math/Matrix4.d.ts
CHANGED
three/src/math/Vector2.d.ts
CHANGED
|
@@ -12,8 +12,6 @@ export interface Vector2Like {
|
|
|
12
12
|
* 2D vector.
|
|
13
13
|
*/
|
|
14
14
|
export class Vector2 {
|
|
15
|
-
static readonly isVector2: boolean;
|
|
16
|
-
|
|
17
15
|
constructor(x?: number, y?: number);
|
|
18
16
|
|
|
19
17
|
/**
|
|
@@ -27,6 +25,7 @@ export class Vector2 {
|
|
|
27
25
|
y: number;
|
|
28
26
|
width: number;
|
|
29
27
|
height: number;
|
|
28
|
+
readonly isVector2: true;
|
|
30
29
|
|
|
31
30
|
/**
|
|
32
31
|
* Sets value of this vector.
|
three/src/math/Vector3.d.ts
CHANGED
|
@@ -29,8 +29,6 @@ export interface Vector3Like {
|
|
|
29
29
|
* c.crossVectors( a, b );
|
|
30
30
|
*/
|
|
31
31
|
export class Vector3 {
|
|
32
|
-
static readonly isVector3: boolean;
|
|
33
|
-
|
|
34
32
|
constructor(x?: number, y?: number, z?: number);
|
|
35
33
|
|
|
36
34
|
/**
|
|
@@ -47,6 +45,7 @@ export class Vector3 {
|
|
|
47
45
|
* @default 0
|
|
48
46
|
*/
|
|
49
47
|
z: number;
|
|
48
|
+
readonly isVector3: true;
|
|
50
49
|
|
|
51
50
|
/**
|
|
52
51
|
* Sets value of this vector.
|
three/src/math/Vector4.d.ts
CHANGED
|
@@ -15,8 +15,6 @@ export interface Vector4Like {
|
|
|
15
15
|
* 4D vector.
|
|
16
16
|
*/
|
|
17
17
|
export class Vector4 {
|
|
18
|
-
static readonly isVector4: boolean;
|
|
19
|
-
|
|
20
18
|
constructor(x?: number, y?: number, z?: number, w?: number);
|
|
21
19
|
|
|
22
20
|
/**
|
|
@@ -41,6 +39,7 @@ export class Vector4 {
|
|
|
41
39
|
|
|
42
40
|
width: number;
|
|
43
41
|
height: number;
|
|
42
|
+
readonly isVector4: true;
|
|
44
43
|
|
|
45
44
|
/**
|
|
46
45
|
* Sets value of this vector.
|