#
luxiaotao1123
2024-04-24 ef1c6cacf5aa4b2bcce35eb3b7bae2db95692edd
src/utils/common.js
@@ -19,7 +19,12 @@
}
export const rotationParseNum = (num) => {
    return num * Math.PI / 180;
    const normalizedDegrees = num % 360;
    return normalizedDegrees * Math.PI / 180;
}
export const minDiffTheta = (originTheta, targetTheta) => {
    return (targetTheta - originTheta > 180) ? targetTheta - 360 : targetTheta;
}
export const setShadow = (obj) => {