From ab72df15d4fb9329bb3f8ef3376dee58224619c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Sun, 8 Mar 2026 20:06:33 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20[rd]=20=EB=B0=A9=ED=99=94=EC=85=94?= =?UTF-8?q?=ED=84=B0=203D=20=EC=85=94=ED=84=B0=EB=B0=95=EC=8A=A4=20?= =?UTF-8?q?=EC=9C=84=EC=B9=98=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - wireframe이 case 자식으로 추가되면서 위치가 2배 적용되던 버그 수정 - boxLine.position 제거 (부모 case의 transform을 상속하므로 불필요) --- resources/views/rd/fire-shutter-drawing/index.blade.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/views/rd/fire-shutter-drawing/index.blade.php b/resources/views/rd/fire-shutter-drawing/index.blade.php index 6aed77f2..0dce13f7 100644 --- a/resources/views/rd/fire-shutter-drawing/index.blade.php +++ b/resources/views/rd/fire-shutter-drawing/index.blade.php @@ -980,10 +980,9 @@ function fs3dBuild() { meshes.case.position.set(0, H + b.height / 2, 0); scene.add(meshes.case); - // Box wireframe + // Box wireframe (child of case — position (0,0,0) relative to parent) const boxEdges = new THREE.EdgesGeometry(boxGeo); const boxLine = new THREE.LineSegments(boxEdges, new THREE.LineBasicMaterial({ color: 0x94a3b8 })); - boxLine.position.copy(meshes.case.position); meshes.case.add(boxLine); // === SHAFT ===