dev #186

Merged
ysCha merged 3 commits from dev into prd-deploy 2025-07-07 17:48:33 +09:00
Showing only changes of commit 8354770a9e - Show all commits

View File

@ -811,7 +811,7 @@ export const useTrestle = () => {
return -surfaceCompass return -surfaceCompass
} }
let resultAzimuth = surfaceCompass || moduleCompass let resultAzimuth = moduleCompass
@ -840,7 +840,7 @@ export const useTrestle = () => {
if (resultAzimuth > 90) { if (resultAzimuth > 90) {
return -180 + (resultAzimuth - 90) return -180 + (resultAzimuth - 90)
} }
return 180 + (90 - resultAzimuth) return 180 + (resultAzimuth - 90)
} else if (resultAzimuth === 180) { } else if (resultAzimuth === 180) {
return -180 + (resultAzimuth - 90) return -180 + (resultAzimuth - 90)
} }