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

◆ Dot()

static float vector::Dot ( vector v1,
vector v2 )
inlinestaticprivate

Returns Dot product of vector v1 and vector v2.

Аргументы
v1vector input vector
v2vector input vector
Возвращает
vector direction vector

См. определение в файле EnConvert.c строка 305

306 {
307 return ((v1[0] * v2[0]) + (v1[1] * v2[1]) + (v1[2] * v2[2]));
308 }

Используется в ActionCreateIndoorFireplace::ActionCondition(), ActionCreateIndoorOven::ActionCondition(), ActionPlaceFireplaceIndoor::ActionCondition(), ActionPlaceOvenIndoor::ActionCondition(), CanBeIgnitedBy(), Car::CheckContactCache(), CheckContactCache(), DayZInfected::ComputeHitDirectionAngle(), DayZCreatureAI::ComputeHitDirectionAngleDeg(), DayZInfected::ComputeHitDirectionAngleEx(), DustEffectManager::CreateGroundEffect(), map< int, float >::DetectFlippedUsingSurface(), DetectFlippedUsingWheels(), Transport::DetectFlippedUsingWheels(), ActionTargets::DistSqrPoint2Line(), DropAllItemsInInventoryInBounds(), DayZInfected::EvaluateCrawlTransitionAnimation(), DayZPlayer::EvaluateDamageHitAnimation(), DayZPlayer::EvaluateDeathAnimation(), EffBulletImpactBase::Event_OnStarted(), VicinityItemManager::ExcludeFromContainer_Phase1(), FilterObstructedObjectsByGrouping(), GetDirectionDot(), HitZoneSelectionRaycast(), IsEntityBehindEntityInAngle(), BaseBuildingBase::IsFacingCamera(), BaseBuildingBase::IsFacingPlayer(), IsPlayerOrientedTowardPos(), CCTLiquid::IsPositionNearCurrentCameraRay(), Weapon::LiftWeaponCheckEx(), OnAttachmentRuined(), BoatScript::OnContact(), map< int, float >::OnContact(), DayZPlayer::OnStepEvent(), RotateAroundZero(), RotateAroundZeroDeg(), RotateAroundZeroRad() и ActionGetInTransport::Start().