forked from SeAIPalette/SeAIPalette
This commit is contained in:
parent
491444b802
commit
b9cd5f5b0e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue