ceiling rendering + tools fix

This commit is contained in:
wass08
2026-01-27 09:36:11 +09:00
parent e3e3602d91
commit 150a0a4ca1
5 changed files with 55 additions and 37 deletions
@@ -40,7 +40,7 @@ function updateCeilingGeometry(node: CeilingNode, mesh: THREE.Mesh) {
mesh.geometry = newGeo
// Position at the ceiling height
mesh.position.y = node.height ?? 2.5
mesh.position.y = (node.height ?? 2.5) - 0.01 // Slight offset to avoid z-fighting with upper-level slabs
}
/**