MCPcopy Create free account
hub / github.com/cmauri/eviacam / GetSpeedFactor

Method GetSpeedFactor

src/pointeraction.cpp:182–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182float CPointerAction::GetSpeedFactor(unsigned int speed) const
183{
184 return (float) pow (2.718281828459045235, speed / 6.0);
185}
186
187void CPointerAction::SetAcceleration(unsigned int acceleration)
188{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected