MCPcopy Create free account
hub / github.com/ValveSoftware/halflife / GetNearestNavArea

Method GetNearestNavArea

game_shared/bot/nav_area.cpp:5133–5185  ·  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. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

NavAreaTravelDistanceFunction · 0.80
BuildLaddersFunction · 0.80
EditNavAreasFunction · 0.80
BuildTrivialPathMethod · 0.80
ComputeMethod · 0.80

Calls 4

GetGroundHeightFunction · 0.85
GetClosestPointOnAreaMethod · 0.80
UTIL_TraceLineFunction · 0.50
VectorClass · 0.50

Tested by

no test coverage detected