dev #950

Merged
ysCha merged 2 commits from dev into dev-deploy 2026-07-03 17:12:02 +09:00
Showing only changes of commit 65c8535825 - Show all commits

View File

@ -416,6 +416,9 @@ export const usePolygon = () => {
while (a > 180) a -= 360
while (a < -180) a += 360
const i = Math.round(a / 22.5) // -8 ~ 8
// [方位 追加要請 2026-07-03] 124~134°는 西北西/東北東 표시(北西/北東 시작을 135°로) — 북면 판정 ±135°와 표시 경계 일치
if (i === 6 && a <= 134) return positive[5] // 北西 → 西北西
if (i === -6 && a >= -134) return negative[5] // 北東 → 東北東
return i >= 0 ? positive[i] : negative[-i]
}