DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ WindEffectTemperatureValue()

float WorldData::WindEffectTemperatureValue ( float temperatureInput)
inlineprotected

См. определение в файле WorldData.c строка 402

403 {
404 float temperatureOutput = 0.0;
405
406 temperatureOutput = (temperatureInput - GameConstants.ENVIRO_WIND_CHILL_LIMIT) / (GameConstants.ENVIRO_WIND_EFFECT_SLOPE - GameConstants.ENVIRO_WIND_CHILL_LIMIT);
407 temperatureOutput = temperatureOutput * m_Weather.GetWindMagnitude().GetActual() * GetWindCoef();
408
409 return -temperatureOutput;
410 }
float GetWindCoef()
Определения WorldData.c:297
Weather m_Weather
Определения WorldData.c:19

Перекрестные ссылки GameConstants::ENVIRO_WIND_CHILL_LIMIT, GameConstants::ENVIRO_WIND_EFFECT_SLOPE, GetWindCoef() и m_Weather.

Используется в GetTemperature() и GetTemperatureComponentValue().