feat: update UI labels and improve scaling parameters for better user experience

This commit is contained in:
CNCKitchen
2026-03-18 16:41:13 +01:00
parent 9b0995c22d
commit 08ab85ba75
6 changed files with 18 additions and 16 deletions
+2 -2
View File
@@ -96,8 +96,8 @@ export function computeUV(pos, normal, mode, settings, bounds) {
const az = Math.abs(normal.z);
let uRaw, vRaw;
if (ax >= ay && ax >= az) {
uRaw = (pos.z - min.z) / md;
vRaw = (pos.y - min.y) / md;
uRaw = (pos.y - min.y) / md;
vRaw = (pos.z - min.z) / md;
} else if (ay >= ax && ay >= az) {
uRaw = (pos.x - min.x) / md;
vRaw = (pos.z - min.z) / md;