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

Method IsLineBlockedBySmoke

game_shared/bot/bot_manager.cpp:355–474  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------------------------------- * Return true if line intersects smoke volume * Determine the length of the line of sight covered by each smoke cloud, * and sum them (overlap is additive for obstruction). * If the overlap exceeds the threshold, the bot can't see through. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

GetDetonationPositionMethod · 0.80
DotProductFunction · 0.50
IsValidMethod · 0.45
GetIDMethod · 0.45
LengthMethod · 0.45

Tested by

no test coverage detected