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

Method FInViewCone

src/game/server/basecombatcharacter.cpp:518–521  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

FindMissTargetMethod · 0.45

Calls 3

WorldSpaceCenterMethod · 0.80
VectorNormalizeFunction · 0.50
DotProductFunction · 0.50

Tested by

no test coverage detected