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

Method FacingIdeal

src/game/server/ai_basenpc.cpp:9838–9846  ·  view source on GitHub ↗

========================================================= FacingIdeal - tells us if a npc is facing its ideal yaw. Created this function because many spots in the code were checking the yawdiff against this magic number. Nicer to have it in one place if we're gonna be stuck with it. =========================================================

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

RunTaskMethod · 0.80
RunTaskMethod · 0.80
StartTaskMethod · 0.80
RunTaskMethod · 0.80

Calls 3

fabsFunction · 0.85
GetMotorFunction · 0.85
DeltaIdealYawMethod · 0.80

Tested by

no test coverage detected