MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / FInAimCone

Method FInAimCone

src/game/server/basecombatcharacter.cpp:658–661  ·  view source on GitHub ↗

========================================================= FInAimCone - returns true is the passed ent is in the caller's forward aim cone. The dot product is performed in 2d, making the aim cone infinitely tall. =========================================================

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

VectorNormalizeFunction · 0.50
DotProductFunction · 0.50
BodyTargetMethod · 0.45

Tested by

no test coverage detected