feat: update theme toggle button text and adjust UV mapping threshold for improved rendering

This commit is contained in:
CNCKitchen
2026-03-18 12:21:53 +01:00
parent d09d00e5a8
commit ac598757f0
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ export function computeUV(pos, normal, mode, settings, bounds) {
const C = TWO_PI * Math.max(r, 1e-6);
const rx = pos.x - center.x;
const ry = pos.y - center.y;
if (Math.abs(normal.z) > 0.5) {
if (Math.abs(normal.z) > 0.7) {
// Cap face — normalise by C so one tile = same world size as on the side
u = rx / C + 0.5;
v = ry / C + 0.5;