Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BohemiaInteractive/CWR
/ BufferWheel
Method
BufferWheel
engine/Poseidon/Input/MouseState.cpp:24–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
22
}
23
24
void MouseState::BufferWheel(float dy)
25
{
26
bufWheel_ += dy * kWheelUnitsPerNotch;
27
}
28
29
void MouseState::DiscardBuffered()
30
{
Callers
2
SDLInput_BufferMouseWheel
Function · 0.80
test_mouse_state.cpp
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected