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

Function IsCrossingLineOfFire

game_shared/bot/nav_area.cpp:3591–3638  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------------------------------------- * Return true if moving from "start" to "finish" will cross a player's line of fire. * The path from "start" to "finish" is assumed to be a straight line. * "start" and "finish" are assumed to be points on the ground. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

FindNearbyRetreatSpotFunction · 0.85

Calls 5

IsEntityValidFunction · 0.85
IsIntersecting2DFunction · 0.85
UTIL_PlayerByIndexFunction · 0.50
UTIL_MakeVectorsFunction · 0.50
IsAliveMethod · 0.45

Tested by

no test coverage detected