MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / GetEyeDirection

Method GetEyeDirection

engine/Poseidon/AI/VehicleAICombat.cpp:1732–1739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1730*/
1731
1732Vector3 EntityAI::GetEyeDirection() const
1733{
1734 if (NWeaponSystems() <= 0)
1735 {
1736 return Direction();
1737 }
1738 return GetWeaponDirection(0);
1739}
1740
1741Vector3 EntityAI::GetWeaponDirection(int weapon) const
1742{

Callers 4

UpdateTargetMethod · 0.45
ResetVehicleMethod · 0.45
DrawTankDirectionMethod · 0.45
SwitchToFireMethod · 0.45

Calls 1

DirectionClass · 0.85

Tested by

no test coverage detected