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

Method BuildNearestRoute

dlls/monsters.cpp:2341–2415  ·  view source on GitHub ↗

========================================================= BuildNearestRoute - tries to build a route as close to the target as possible, even if there isn't a path to the final point. If supplied, search will return a node at least as far away as MinDist from vecThreat, but no farther than MaxDist. if MaxDist isn't supplied, it defaults to a reasonable value ======================================

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

UTIL_TraceLineFunction · 0.70
HullIndexMethod · 0.45
NextNodeInRouteMethod · 0.45
LengthMethod · 0.45

Tested by

no test coverage detected