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

◆ Sin()

static proto float Math::Sin ( float angle)
staticprivate

Returns sinus of angle in radians.

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

Используется в DayZPlayerImplementAiming::ApplyBreathingPattern(), Bobbing(), ItemBase::CalcDamageAreaRotation(), HitDirectionEffectBase::CalculateArrowPosition(), Debug::DrawCone(), DropAllItemsInInventoryInBounds(), Easing::EaseInElastic(), Easing::EaseInOutElastic(), Easing::EaseOutElastic(), Easing::EaseOutSine(), FilterObstructedObjectsByGrouping(), HitDirectionEffectBase::FinalizePositionCalculation(), FlareSimulation::FlareParticleUpdate(), GetHeadingVector(), GetRandomizedPosition(), EntityLightSource::HandleBlinking(), DayZInfected::HandleOrientation(), MoveMaterialAttachmentToGround(), OnAttachmentRuined(), PointLightBase::OnFrameLightSource(), EntityPlacementCallback::OnSetup(), ManBase::OnUnconsciousUpdate(), DayZPlayerCameraBase::OnUpdate(), PPERequester_GameplayBase::OnUpdate(), SymptomBase::OnUpdateClient(), PPERequester_GameplayBase::ProcessSimulation(), Refresh(), VicinityItemManager::RefreshVicinityItems(), PPERequester_GameplayBase::ReSampleChannels(), vector::RotateAroundZeroDeg(), vector::RotateAroundZeroRad(), PPERequester_GameplayBase::SampleChannels(), BleedingIndicatorDropData::ScatterPosition(), PPERequester_GameplayBase::SetEffectProgress() и AnimatorTimer::Tick().