@cognite/reveal 4.3.3-dev.20230626 → 4.3.4-dev.20230627
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.
|
@@ -16,9 +16,10 @@ export declare class CameraManagerHelper {
|
|
|
16
16
|
* @param camera Used camera instance.
|
|
17
17
|
* @param rotation New camera rotation in quaternion form.
|
|
18
18
|
* @param currentTarget Current camera target.
|
|
19
|
+
* @param position New camera position.
|
|
19
20
|
* @returns
|
|
20
21
|
*/
|
|
21
|
-
static calculateNewTargetFromRotation(camera: THREE.PerspectiveCamera, rotation: THREE.Quaternion, currentTarget: THREE.Vector3): THREE.Vector3;
|
|
22
|
+
static calculateNewTargetFromRotation(camera: THREE.PerspectiveCamera, rotation: THREE.Quaternion, currentTarget: THREE.Vector3, position: THREE.Vector3): THREE.Vector3;
|
|
22
23
|
/**
|
|
23
24
|
* Calculates camera rotation from target
|
|
24
25
|
* @param camera Used Camera instance
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cognite/reveal",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.4-dev.20230627",
|
|
4
4
|
"description": "WebGL based 3D viewer for CAD and point clouds processed in Cognite Data Fusion.",
|
|
5
5
|
"homepage": "https://github.com/cognitedata/reveal/tree/master/viewer",
|
|
6
6
|
"repository": {
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@azure/msal-browser": "2.37.1",
|
|
82
|
-
"@cognite/sdk": "8.
|
|
82
|
+
"@cognite/sdk": "8.2.0",
|
|
83
83
|
"@microsoft/api-extractor": "^7.33.6",
|
|
84
84
|
"@types/dat.gui": "0.7.10",
|
|
85
85
|
"@types/gl": "^6.0.2",
|
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
"@types/stats": "0.16.30",
|
|
97
97
|
"@types/three": "0.152.1",
|
|
98
98
|
"@types/tween.js": "18.5.1",
|
|
99
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
100
|
-
"@typescript-eslint/parser": "5.
|
|
99
|
+
"@typescript-eslint/eslint-plugin": "5.60.0",
|
|
100
|
+
"@typescript-eslint/parser": "5.60.0",
|
|
101
101
|
"concurrently": "8.2.0",
|
|
102
102
|
"cross-env": "7.0.3",
|
|
103
103
|
"dat.gui": "0.7.9",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"eslint-plugin-unused-imports": "2.0.0",
|
|
111
111
|
"file-loader": "6.2.0",
|
|
112
112
|
"gl": "6.0.2",
|
|
113
|
-
"glob": "10.
|
|
113
|
+
"glob": "10.3.0",
|
|
114
114
|
"glslify-loader": "2.0.0",
|
|
115
115
|
"html-webpack-plugin": "5.5.3",
|
|
116
116
|
"jest": "29.5.0",
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"nock": "13.3.1",
|
|
125
125
|
"prettier": "2.8.8",
|
|
126
126
|
"process": "0.11.10",
|
|
127
|
-
"puppeteer": "20.7.
|
|
127
|
+
"puppeteer": "20.7.3",
|
|
128
128
|
"random-seed": "0.3.0",
|
|
129
129
|
"raw-loader": "4.0.2",
|
|
130
130
|
"remove-files-webpack-plugin": "1.5.0",
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"tsc-alias": "1.8.6",
|
|
138
138
|
"typescript": "5.1.3",
|
|
139
139
|
"wasm-pack": "0.12.0",
|
|
140
|
-
"webpack": "5.
|
|
140
|
+
"webpack": "5.88.0",
|
|
141
141
|
"webpack-cli": "5.1.4",
|
|
142
142
|
"webpack-dev-server": "4.15.1",
|
|
143
143
|
"webpack-node-externals": "3.0.0",
|