@types/three 0.161.1 → 0.161.2
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/cameras/PerspectiveCamera.d.ts +1 -1
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: Thu, 01 Feb 2024 21:06:50 GMT
|
|
12
12
|
* Dependencies: [@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.161.
|
|
3
|
+
"version": "0.161.2",
|
|
4
4
|
"description": "TypeScript definitions for three",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/three",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,6 +44,6 @@
|
|
|
44
44
|
"fflate": "~0.6.10",
|
|
45
45
|
"meshoptimizer": "~0.18.1"
|
|
46
46
|
},
|
|
47
|
-
"typesPublisherContentHash": "
|
|
47
|
+
"typesPublisherContentHash": "0a5b515639c4fc081fe6dd8ef9c8a6965594ee790b275805cdbd72a74020e955",
|
|
48
48
|
"typeScriptVersion": "4.6"
|
|
49
49
|
}
|
|
@@ -159,7 +159,7 @@ export class PerspectiveCamera extends Camera {
|
|
|
159
159
|
* Computes the width and height of the camera's viewable rectangle at a given distance along the viewing direction.
|
|
160
160
|
* Copies the result into the target Vector2, where x is width and y is height.
|
|
161
161
|
*/
|
|
162
|
-
getViewSize(distance: number,
|
|
162
|
+
getViewSize(distance: number, target: Vector2): Vector2;
|
|
163
163
|
|
|
164
164
|
/**
|
|
165
165
|
* Sets an offset in a larger frustum.
|