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 度旋转 } }