mirror of
https://github.com/CNCKitchen/stlTexturizer.git
synced 2026-04-07 22:11:32 +00:00
feat: update max triangle limit to 750K and enhance triangle bounding radius calculations
This commit is contained in:
+2
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user