MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / GetNearestNavArea

Method GetNearestNavArea

src/game/server/nav_mesh.cpp:830–997  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------------------------------- * Given a position in the world, return the nav area that is closest * and at the same height, or beneath it. * Used to find initial area if we start off of the mesh. * @todo Make sure area is not on the other side of the wall from goal. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

IsAbleToSeeMethod · 0.80
UpdateLastKnownAreaMethod · 0.80
NavAreaTravelDistanceFunction · 0.80
FindActiveNavAreaMethod · 0.80
CommandNavEndAreaMethod · 0.80
BuildTrivialPathMethod · 0.80
ComputePathMethod · 0.80
ComputeMethod · 0.80

Calls 11

RandomIntFunction · 0.85
UTIL_TraceLineFunction · 0.85
fabsFunction · 0.85
FOR_EACH_VECFunction · 0.70
VectorClass · 0.70
CountMethod · 0.45
IsBlockedMethod · 0.45
GetClosestPointOnAreaMethod · 0.45
LengthSqrMethod · 0.45
GetAbsOriginMethod · 0.45
GetTeamNumberMethod · 0.45

Tested by

no test coverage detected