mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added wet bulb calculation, fixed macros
This commit is contained in:
parent
2f7d7ece56
commit
7f966de28c
@ -9,6 +9,7 @@ PREP(calculateDewPoint);
|
||||
PREP(calculateHeatIndex);
|
||||
PREP(calculateRoughnessLength);
|
||||
PREP(calculateTemperatureAtHeight);
|
||||
PREP(calculateWetBulb);
|
||||
PREP(calculateWindChill);
|
||||
PREP(calculateWindSpeed);
|
||||
PREP(displayWindInfo);
|
||||
|
@ -8,7 +8,7 @@
|
||||
* 2: relativeHumidity - value between 0.0 and 1.0 <NUMBER>
|
||||
*
|
||||
* Return Value:
|
||||
* 0: heat index <NUMBER>
|
||||
* 0: dew point <NUMBER>
|
||||
*
|
||||
* Return value:
|
||||
* None
|
||||
|
19
addons/weather/functions/fnc_calculateWetBulb.sqf
Normal file
19
addons/weather/functions/fnc_calculateWetBulb.sqf
Normal file
@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Author: Ruthberg
|
||||
*
|
||||
* Calculates wet bulb based on temperature and relative humidity
|
||||
*
|
||||
* Arguments:
|
||||
*
|
||||
*
|
||||
* Return Value:
|
||||
* 0: wet bulb <NUMBER>
|
||||
*
|
||||
* Return value:
|
||||
* None
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
|
||||
// TODO: ...
|
||||
|
||||
GVAR(currentTemperature)
|
Loading…
Reference in New Issue
Block a user