forked from Tobias00723/DCS-Scripting-Library-Updated
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathatmosphere.lua
More file actions
36 lines (27 loc) · 1.09 KB
/
atmosphere.lua
File metadata and controls
36 lines (27 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---@diagnostic disable: undefined-doc-name
--[[
updated by Tobias00723
orignial author : unkown ;/
from the TGFB server
Discord : https://discord.gg/hEHd4A3czx
any questions? ^^
find me on the my discord server ^^
feel free to use these DCS prototypes
no mentions or anything needed :)
]]
---@meta
---atmosphere is a singleton whose functions return atmospheric data about the mission. Currently limited only to wind data.
atmosphere = {}
---Returns a velocity vector of the wind at a specified point
---@param vec3 vec3
---@return vec3 vec3
function atmosphere.getWind(vec3) end
---Returns a velocity vector of the wind at a specified point, this time factoring turbulence into the equation.
---@param vec3 vec3
---@return vec3 vec3
function atmosphere.getWindWithTurbulence(vec3) end
---Returns the temperature and pressure at a given point in 3d space. Temperature is returned in Kelvins Pressure is returned in Pascals
---@param vec3 vec3
---@return Temp number , Pressure number
function atmosphere.getTemperatureAndPressure(vec3) end
return atmosphere