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

Method FindLongestShake

src/game/client/view_effects.cpp:370–385  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Returns the shake with the longest duration. This is the shake we use anytime we get an amplitude or frequency command, because the most likely case is that we're modifying a shake with a long duration rather than a brief shake caused by an explosion, etc. --------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

CountMethod · 0.45
ElementMethod · 0.45

Tested by

no test coverage detected