@qy_better_lib/hooks 0.2.16 → 0.2.18
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.
- package/lib/use-three/index.mjs +4 -2
- package/package.json +3 -3
package/lib/use-three/index.mjs
CHANGED
|
@@ -1014,6 +1014,7 @@ function use_effect_composer(current_three) {
|
|
|
1014
1014
|
threshold
|
|
1015
1015
|
// 阈值:亮度达到多少时触发光晕
|
|
1016
1016
|
);
|
|
1017
|
+
bloom_pass.renderToScreen = true;
|
|
1017
1018
|
composer.addPass(bloom_pass);
|
|
1018
1019
|
return bloom_pass;
|
|
1019
1020
|
}
|
|
@@ -1028,6 +1029,7 @@ function use_effect_composer(current_three) {
|
|
|
1028
1029
|
current_three.scene,
|
|
1029
1030
|
current_three.camera
|
|
1030
1031
|
);
|
|
1032
|
+
outline_pass.renderToScreen = true;
|
|
1031
1033
|
composer.addPass(outline_pass);
|
|
1032
1034
|
return outline_pass;
|
|
1033
1035
|
}
|
|
@@ -1059,10 +1061,10 @@ function use_effect_composer(current_three) {
|
|
|
1059
1061
|
}
|
|
1060
1062
|
});
|
|
1061
1063
|
if (options.visibleEdgeColor) {
|
|
1062
|
-
outline_pass.visibleEdgeColor
|
|
1064
|
+
outline_pass.visibleEdgeColor.set(options.visibleEdgeColor);
|
|
1063
1065
|
}
|
|
1064
1066
|
if (options.hiddenEdgeColor) {
|
|
1065
|
-
outline_pass.hiddenEdgeColor
|
|
1067
|
+
outline_pass.hiddenEdgeColor.set(options.hiddenEdgeColor);
|
|
1066
1068
|
}
|
|
1067
1069
|
outline_pass.selectedObjects = objects;
|
|
1068
1070
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qy_better_lib/hooks",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.18",
|
|
5
5
|
"description": "qy better lib hooks",
|
|
6
6
|
"author": "luhuiming",
|
|
7
7
|
"license": "MIT",
|
|
@@ -63,13 +63,13 @@
|
|
|
63
63
|
"@qy_better_lib/core": "^0.2.8",
|
|
64
64
|
"@types/dagre": "^0.7.53",
|
|
65
65
|
"@types/node": "^24.5.2",
|
|
66
|
-
"@types/three": "^0.
|
|
66
|
+
"@types/three": "^0.176.0",
|
|
67
67
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
68
68
|
"dagre": "^0.8.5",
|
|
69
69
|
"echarts": "5.6.0",
|
|
70
70
|
"mitt": "^3.0.1",
|
|
71
71
|
"mqtt": "^5.14.1",
|
|
72
|
-
"three": "^0.
|
|
72
|
+
"three": "^0.176.0",
|
|
73
73
|
"vite": "^7.1.7",
|
|
74
74
|
"vite-plugin-dts": "^4.5.4",
|
|
75
75
|
"vitest": "^4.0.18",
|