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

Method FindNearestLink

dmc/dlls/nodes.cpp:295–435  ·  view source on GitHub ↗

========================================================= FindNearestLink - finds the connection (line) nearest the given point. Returns FALSE if fails, or TRUE if it has stuffed the index into the nearest link pool connection into the passed int pointer, and a BOOL telling whether or not the point is along the line into the passed BOOL pointer. ====================================================

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

DotProductFunction · 0.70
UTIL_TraceLineFunction · 0.70
Make2DMethod · 0.45
NormalizeMethod · 0.45
LengthMethod · 0.45

Tested by

no test coverage detected