mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 02:11:19 +00:00
Document the smart-leak function.
This commit is contained in:
parent
93517d40d8
commit
bfc6c9e798
1 changed files with 6 additions and 4 deletions
|
@ -55,10 +55,8 @@ PointInLeaf (node_t *node, vec3_t point)
|
|||
|
||||
/** Set the distance to a node from all reachable nodes.
|
||||
|
||||
Purpose unknown: not in the id code and the information is not used
|
||||
anywhere. Probably a bad port from either hqbsp or oq.
|
||||
|
||||
\todo Find the port source and either fix qfbsp or nuke this function.
|
||||
\param n The current node.
|
||||
\param dist The distance to the original node.
|
||||
*/
|
||||
static void
|
||||
FloodEntDist_r (node_t *n, int dist)
|
||||
|
@ -161,6 +159,10 @@ MarkLeakTrail (portal_t *n2)
|
|||
}
|
||||
}
|
||||
|
||||
/** Mark the trail from outside to the entity.
|
||||
|
||||
Try to use the shortest path from the outside node to the entity.
|
||||
*/
|
||||
static void
|
||||
MarkLeakTrail2 (void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue