@cognite/reveal 4.25.1 → 4.25.2-dev.20250526
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.
|
@@ -19,6 +19,10 @@ export declare class PickingHandler {
|
|
|
19
19
|
private readonly _raycaster;
|
|
20
20
|
private readonly _pickPixelColorStorage;
|
|
21
21
|
private readonly _rgbaVector;
|
|
22
|
+
/**
|
|
23
|
+
* These factors are used for undoing the `packDepthToRGBA` GLSL operation defined by ThreeJS.
|
|
24
|
+
* They are taken from https://github.com/WestLangley/three.js/blob/bc58fecba18150103b95fbde5aaa3cc7cddf95a7/src/renderers/shaders/ShaderChunk/packing.glsl.js#L19
|
|
25
|
+
*/
|
|
22
26
|
private readonly _unpackFactors;
|
|
23
27
|
private readonly _pipelineExecutor;
|
|
24
28
|
private readonly _depthRenderPipeline;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cognite/reveal",
|
|
3
|
-
"version": "4.25.
|
|
3
|
+
"version": "4.25.2-dev.20250526",
|
|
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": {
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"@types/random-seed": "^0.3.5",
|
|
97
97
|
"@types/skmeans": "^0.11.7",
|
|
98
98
|
"@types/stats": "^0.16.30",
|
|
99
|
-
"@types/three": "^0.
|
|
99
|
+
"@types/three": "^0.176.0",
|
|
100
100
|
"@typescript-eslint/eslint-plugin": "^7.7.1",
|
|
101
101
|
"@typescript-eslint/parser": "^7.7.1",
|
|
102
102
|
"concurrently": "^9.0.0",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"resize-observer-polyfill": "^1.5.1",
|
|
132
132
|
"shx": "^0.3.4",
|
|
133
133
|
"stats.js": "^0.17.0",
|
|
134
|
-
"three": "0.
|
|
134
|
+
"three": "0.176.0",
|
|
135
135
|
"ts-jest": "29.1.2",
|
|
136
136
|
"ts-loader": "^9.5.1",
|
|
137
137
|
"tsc-alias": "^1.8.8",
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
},
|
|
147
147
|
"peerDependencies": {
|
|
148
148
|
"@cognite/sdk": "^10.0.0",
|
|
149
|
-
"three": "0.
|
|
149
|
+
"three": "0.176.0"
|
|
150
150
|
},
|
|
151
151
|
"glslify": {
|
|
152
152
|
"transform": [
|