From 0d860072e29a5bf0f6cf20f5a24f5e952121ac31 Mon Sep 17 00:00:00 2001 From: luoyifan Date: Tue, 22 Jul 2025 20:50:04 +0800 Subject: [PATCH] =?UTF-8?q?AmrMapConvert=20=E4=BB=8E=20AMR=20=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE=E8=BD=AC=E6=8D=A2=E4=B8=BA=20LCC=20=E5=9C=B0=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/AmrMapConvert.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils/AmrMapConvert.ts b/src/utils/AmrMapConvert.ts index 3e7ebb1..5e08b91 100644 --- a/src/utils/AmrMapConvert.ts +++ b/src/utils/AmrMapConvert.ts @@ -464,17 +464,17 @@ function isStorePos(amrNode: any) { // 根据方向,调整存储位的距离 function convertLinkStoreDistance(direction: string, storeNode: any) { if (direction === 'up') { - storeNode.tf[0][2] -= 0.5 + storeNode.tf[0][2] -= 1.2 } else if (direction === 'down') { - storeNode.tf[0][2] += 0.5 + storeNode.tf[0][2] += 1.2 } else if (direction === 'left') { - storeNode.tf[0][0] -= 0.5 + storeNode.tf[0][0] -= 1.2 storeNode.tf[1][1] = 90 // 90 度旋转 } else if (direction === 'right') { - storeNode.tf[0][0] += 0.5 + storeNode.tf[0][0] += 1.2 storeNode.tf[1][1] = 90 // 90 度旋转 } }