mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-18 05:05:56 +00:00
ATIS v0.5.0
This commit is contained in:
@@ -452,7 +452,7 @@ ATIS.Sound = {
|
|||||||
DegreesCelsius={filename="DegreesCelsius.ogg", duration=1.27},
|
DegreesCelsius={filename="DegreesCelsius.ogg", duration=1.27},
|
||||||
DegreesFahrenheit={filename="DegreesFahrenheit.ogg", duration=1.23},
|
DegreesFahrenheit={filename="DegreesFahrenheit.ogg", duration=1.23},
|
||||||
Dust={filename="Dust.ogg", duration=0.54},
|
Dust={filename="Dust.ogg", duration=0.54},
|
||||||
Elevation={filename="Elevation.ogg", duration=0.50},
|
Elevation={filename="Elevation.ogg", duration=0.78},
|
||||||
EndOfInformation={filename="EndOfInformation.ogg", duration=1.15},
|
EndOfInformation={filename="EndOfInformation.ogg", duration=1.15},
|
||||||
Feet={filename="Feet.ogg", duration=0.45},
|
Feet={filename="Feet.ogg", duration=0.45},
|
||||||
Fog={filename="Fog.ogg", duration=0.47},
|
Fog={filename="Fog.ogg", duration=0.47},
|
||||||
@@ -513,7 +513,7 @@ _ATIS={}
|
|||||||
|
|
||||||
--- ATIS class version.
|
--- ATIS class version.
|
||||||
-- @field #string version
|
-- @field #string version
|
||||||
ATIS.version="0.4.2"
|
ATIS.version="0.5.0"
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
-- TODO list
|
-- TODO list
|
||||||
|
|||||||
@@ -864,7 +864,7 @@ function UTILS.VecAngle(a, b)
|
|||||||
if cosalpha>=0.9999999999 then --acos(1) is not defined.
|
if cosalpha>=0.9999999999 then --acos(1) is not defined.
|
||||||
alpha=0
|
alpha=0
|
||||||
elseif cosalpha<=-0.999999999 then --acos(-1) is not defined.
|
elseif cosalpha<=-0.999999999 then --acos(-1) is not defined.
|
||||||
alpha=math.pi()
|
alpha=math.pi
|
||||||
else
|
else
|
||||||
alpha=math.acos(cosalpha)
|
alpha=math.acos(cosalpha)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user