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

◆ DiffAngle()

static proto float Math::DiffAngle ( float angle1,
float angle2 )
staticprivate

Return relative difference between angles.

Аргументы
angle1float
angle2float
Возвращает
float Difference between angles (angle1 - angle2)
Print( Math.DiffAngle(-45, 45) );
Print( Math.DiffAngle(90, 80) );
>> -90
>> 10
proto void Print(void var)
Prints content of variable to console/log.
void Math()
Определения EnMath.c:8