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

Method UpdateYaw

src/game/server/ai_motor.cpp:742–771  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Turns a npc towards its ideal yaw. Input : yawSpeed - Yaw speed in degrees per 1/10th of a second. flInterval - Time interval to turn, -1 uses time since last think. Output : Returns the number of degrees turned. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

RunTaskMethod · 0.45
RunTaskMethod · 0.45
NPCThinkMethod · 0.45
RunTaskMethod · 0.45
RunTaskMethod · 0.45
RunTaskMethod · 0.45
RunTaskMethod · 0.45
RunTaskMethod · 0.45
RunTaskMethod · 0.45
RunTaskMethod · 0.45

Calls 3

UTIL_AngleModFunction · 0.85
AI_ClampYawFunction · 0.85
SetUpdatedYawMethod · 0.80

Tested by

no test coverage detected