feat: update max triangle limit to 750K and enhance triangle bounding radius calculations

This commit is contained in:
CNCKitchen
2026-04-03 09:18:44 +02:00
parent 7289c2cabc
commit 3c94df4504
5 changed files with 105 additions and 34 deletions
+2 -2
View File
@@ -582,7 +582,7 @@ export function setExclusionOverlay(overlayGeo, color = 0xff6600, opacity = 1.0)
*
* @param {THREE.BufferGeometry|null} overlayGeo
*/
export function setHoverPreview(overlayGeo) {
export function setHoverPreview(overlayGeo, color = 0xffee00) {
if (hoverMesh) {
scene.remove(hoverMesh);
hoverMesh.geometry.dispose();
@@ -593,7 +593,7 @@ export function setHoverPreview(overlayGeo) {
hoverMesh = new THREE.Mesh(
overlayGeo,
new THREE.MeshBasicMaterial({
color: 0xffee00,
color,
side: THREE.DoubleSide,
transparent: true,
opacity: 0.45,