forked from mirror/openmw-tes3mp
19 lines
No EOL
352 B
C++
19 lines
No EOL
352 B
C++
|
|
#include "navigation.hpp"
|
|
|
|
float CSVRender::Navigation::getFactor (bool mouse) const
|
|
{
|
|
float factor = mFastModeFactor;
|
|
|
|
if (mouse)
|
|
factor /= 2; /// \todo make this configurable
|
|
|
|
return factor;
|
|
}
|
|
|
|
CSVRender::Navigation::~Navigation() {}
|
|
|
|
void CSVRender::Navigation::setFastModeFactor (float factor)
|
|
{
|
|
mFastModeFactor = factor;
|
|
} |