diff --git a/Palette/env/utils.py b/Palette/env/utils.py index 7ec3792..f27b4f9 100644 --- a/Palette/env/utils.py +++ b/Palette/env/utils.py @@ -17,12 +17,9 @@ def process_angle(_angle): def asincos(sin_value, cos_value): if sin_value >= 0: - # 第一象限和第二象限 return acos(cos_value) else: if cos_value >= 0: - return asin(sin_value) else: - return 2*np.pi - acos(cos_value)