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

◆ WindEffectTemperatureValue()

float WorldData::WindEffectTemperatureValue ( float temperatureInput)
inlineprotected

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

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

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

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