ACE3/addons/weather/functions/fnc_calculateSpeedOfSound.sqf
ulteq abf0149b1d Added speed of sound calculation:
* Influences the advanced ballistics transonic instability
* Influences the ATragMX range card output
2015-05-29 11:36:37 +02:00

18 lines
284 B
Plaintext

/*
* Author: Ruthberg
*
* Calculates the speed of sound for a given temperature
*
* Arguments:
* temperature - degrees celcius <NUMBER>
*
* Return Value:
* speed of sound - m/s <NUMBER>
*
* Return value:
* None
*/
#include "script_component.hpp"
(331.3 + (0.6 * _this))