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) => {