mirror of
https://github.com/CNCKitchen/stlTexturizer.git
synced 2026-04-07 22:11:32 +00:00
feat: update UI labels and improve scaling parameters for better user experience
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user