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

◆ VectorToAngles()

proto vector vector::VectorToAngles ( )
private

Converts vector to spherical coordinates with radius = 1.

Возвращает
vector spherical coordinates (yaw, pitch, roll in degrees)
vector v1 = "1 0 1";
vector v2 = "1 1 1";
>> <45,-0,0>
>> <45,35.2644,0>
proto vector VectorToAngles()
Converts vector to spherical coordinates with radius = 1.
Определения EnConvert.c:106
proto void Print(void var)
Prints content of variable to console/log.

Используется в ActionEnterLadder::ActionCondition(), Hologram::AlignProjectionOnTerrain(), EntityLightSource::AttachOnMemoryPoint(), HitDirectionEffectBase::CalculateArrowPosition(), WeaponParticlesBase::CheckOrientationOverride(), ItemBase::DoMeasurement(), EffBulletImpactBase::Event_OnStarted(), Hologram::GetDefaultOrientation(), GetMeleeTargetEx(), CGame::GetSurfaceOrientation(), BaseBuildingBase::IsPlayerInside(), TentBase::IsPlayerInside(), FuelStation::OnExplosionEffects(), FireworksLauncher::OnFuseIgnitedClient(), VicinityItemManager::RefreshVicinityItems() и UIScriptedMenu::Update().