MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / DiscardBuffered

Method DiscardBuffered

engine/Poseidon/Input/MouseState.cpp:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29void MouseState::DiscardBuffered()
30{
31 btnCount_ = 0;
32 bufDeltaX_ = bufDeltaY_ = bufWheel_ = 0;
33 smoothX_ = smoothY_ = 0;
34}
35
36bool MouseState::Update(CursorAccum& cursor, int gameFocusLost, bool lookAroundEnabled, UITime currentTime,
37 const CursorClamp* clamp, float cursorAspectRatio, float aimAspectRatio)

Callers 3

ProcessMouse_SDLFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected