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

◆ WindEffectTemperatureValue()

float WorldData::WindEffectTemperatureValue ( float temperatureInput)
inlineprotected

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

345 {
346 float temperatureOutput = 0.0;
347
348 temperatureOutput = (temperatureInput - GameConstants.ENVIRO_WIND_CHILL_LIMIT) / (GameConstants.ENVIRO_WIND_EFFECT_SLOPE - GameConstants.ENVIRO_WIND_CHILL_LIMIT);
349 temperatureOutput = temperatureOutput * m_Weather.GetWindMagnitude().GetActual() * GetWindCoef();
350
351 return -temperatureOutput;
352 }
float GetWindCoef()
Определения WorldData.c:286
Weather m_Weather
Определения WorldData.c:18

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

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