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

Method FlushAndReset

engine/Poseidon/Input/MouseState.cpp:178–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176 turnLastActive = currentTime;
177 else
178 turnActiveThisFrame = true; // caller should mark keyboard turn active
179 }
180
181 return turnActiveThisFrame;
182}
183
184void MouseState::FlushAndReset()
185{
186 deltaX = 0;
187 deltaY = 0;
188 deltaZ = 0;

Callers 2

FlushAndResetMouseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected