dev #963

Merged
ysCha merged 3 commits from dev into prd-deploy 2026-07-10 16:40:38 +09:00
Showing only changes of commit 342c216c03 - Show all commits

View File

@ -416,9 +416,8 @@ export const usePolygon = () => {
while (a > 180) a -= 360 while (a > 180) a -= 360
while (a < -180) a += 360 while (a < -180) a += 360
const i = Math.round(a / 22.5) // -8 ~ 8 const i = Math.round(a / 22.5) // -8 ~ 8
// [方位 追加要請 2026-07-03] 124~134°는 西北西/東北東 표시(北西/北東 시작을 135°로) — 북면 판정 ±135°와 표시 경계 일치 // [方位 再修正 2026-07-10] 124~134°는 표준 16방위대로 北西/北東 표시(2026-07-03 西北西/東北東 오버라이드 철회).
if (i === 6 && a <= 134) return positive[5] // 北西 → 西北西 // 표시 경계(124°)와 북면 판정 경계(±135°)는 다시 분리 — 판정은 판매전략 연관으로 ±135° 고정.
if (i === -6 && a >= -134) return negative[5] // 北東 → 東北東
return i >= 0 ? positive[i] : negative[-i] return i >= 0 ? positive[i] : negative[-i]
} }