ACE3/addons/weather/functions/fnc_calculateSpeedOfSound.sqf
2016-01-05 01:39:29 -06:00

19 lines
333 B
Plaintext

/*
* Author: Ruthberg
* Calculates the speed of sound for a given temperature
*
* Arguments:
* temperature - degrees celsius <NUMBER>
*
* Return Value:
* speed of sound - m/s <NUMBER>
*
* Example:
* 0 call ace_weather_fnc_calculateSpeedOfSound
*
* Public: No
*/
#include "script_component.hpp"
(331.3 + (0.6 * _this))