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

◆ AnglesToVector()

proto vector vector::AnglesToVector ( )
private

Converts spherical coordinates (yaw, pitch, roll in degrees) to unit length vector.

Возвращает
normalized direction vector
vector v1 = "45 0 0";
vector v2 = "15 60 0";
>> <0.707107,0,0.707107>
>> <0.12941,0.866025,0.482963>
proto vector AnglesToVector()
Converts spherical coordinates (yaw, pitch, roll in degrees) to unit length vector.
Определения EnConvert.c:106
proto void Print(void var)
Prints content of variable to console/log.

Используется в ItemBase::DoMeasurement(), DrawDebugShape(), FloatingCrossHair(), DayZPlayerImplementThrowing::HandleThrowing(), IsEntityBehindEntityInAngle(), BaseBuildingBase::IsPlayerInside(), TentBase::IsPlayerInside() и Weapon::LiftWeaponCheck().