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

◆ ModFloat()

static proto float Math::ModFloat ( float x,
float y )
staticprivate

Returns the floating-point remainder of x/y rounded towards zero.

Аргументы
xfloat Value of the quotient numerator
yfloat Value of the quotient denominator
Возвращает
float - The remainder of dividing the arguments
Print( Math.ModFloat(5.3, 2) );
Print( Math.ModFloat(18.5, 4.2) );
>> 1.3
>> 1.7
proto void Print(void var)
Prints content of variable to console/log.
void Math()
Определения EnMath.c:8

Перекрестные ссылки x и y.

Используется в HitDirectionEffectBase::CalculateArrowPosition() и FModulus().