ACE3/addons/weather/functions/fnc_calculateSpeedOfSound.sqf

18 lines
284 B
Plaintext
Raw Normal View History

/*
* 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))