mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-11 03:43:38 +00:00
ATIS v0.5.0
This commit is contained in:
@@ -864,7 +864,7 @@ function UTILS.VecAngle(a, b)
|
||||
if cosalpha>=0.9999999999 then --acos(1) is not defined.
|
||||
alpha=0
|
||||
elseif cosalpha<=-0.999999999 then --acos(-1) is not defined.
|
||||
alpha=math.pi()
|
||||
alpha=math.pi
|
||||
else
|
||||
alpha=math.acos(cosalpha)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user