#
luxiaotao1123
2024-05-08 9f1744708955e2f14284925c20d12ad0486c3f30
src/utils/common.js
@@ -28,6 +28,10 @@
    return (targetTheta - originTheta > 180) ? targetTheta - 360 : targetTheta;
}
export const positiveAngle = (angle) => {
    return ((angle % 360) + 360) % 360;
}
export const normalizeAngle = (angle) => {
    let newAngle = angle % 360;