moduleSetupSurfaces 별 계산 작업중

This commit is contained in:
hyojun.choi 2024-12-05 18:05:47 +09:00
parent ca87397c60
commit bdffcc78b6

View File

@ -1080,7 +1080,7 @@ export function useModuleBasicSetting() {
}
leftTopCnt = centerPoints.filter(
(centerPoint) => Math.abs(centerPoint.x - topLeftPoint.x) < 2 && Math.abs(centerPoint.y - topRightPoint.y) < 2,
(centerPoint) => Math.abs(centerPoint.x - topLeftPoint.x) < 2 && Math.abs(centerPoint.y - topLeftPoint.y) < 2,
).length
rightTopCnt = centerPoints.filter(
(centerPoint) => Math.abs(centerPoint.x - topRightPoint.x) < 2 && Math.abs(centerPoint.y - topRightPoint.y) < 2,
@ -1098,7 +1098,6 @@ export function useModuleBasicSetting() {
}
if (leftTopCnt + rightTopCnt === 0) {
exposedTop++
return
}
})
// 완전 노출 하면 계산