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

◆ Atan2()

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

Returns angle in radians from tangent.

Аргументы
yfloat Tangent
xfloat Tangent
Возвращает
float - Angle in radians
Print ( Math.Atan2(1, 1) );
>> 0.785398
proto void Print(void var)
Prints content of variable to console/log.
void Math()
Определения EnMath.c:8

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

Используется в DayZIntroScene::DayZIntroScene(), GetMousePointerAngle(), DayZInfected::HandleOrientation(), MeleeTargetSettings() и PluginBase::OnUpdate().