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

◆ GetVolumeContainingAgent01()

float GetVolumeContainingAgent01 ( eAgents agent)
protected

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

373 {
374 float amount = GetVolumeContainingAgent(agent);
375 if (amount > 0.0)
376 return Math.InverseLerp(0.0, GetStomachVolume(), amount);
377
378 return 0.0;
379 }
float GetStomachVolume()
Определения PlayerStomach.c:148
float GetVolumeContainingAgent(eAgents agent)
Определения PlayerStomach.c:360
Определения EnMath.c:7
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...

Перекрестные ссылки GetStomachVolume(), GetVolumeContainingAgent() и Math::InverseLerp().