Designed to be run on main/rendering loop (FPS)
More...
#include <CmdKeyInertia.h>
Designed to be run on main/rendering loop (FPS)
Definition at line 66 of file CmdKeyInertia.h.
◆ CalcSimpleDelay()
float RoR::SimpleInertia::CalcSimpleDelay |
( |
bool |
input, |
|
|
float |
dt |
|
) |
| |
Expected to be invoked in main/rendering loop, once per frame. The dt
is in seconds.
Definition at line 216 of file CmdKeyInertia.cpp.
◆ SetSimpleDelay()
void RoR::SimpleInertia::SetSimpleDelay |
( |
RoR::CmdKeyInertiaConfig & |
cfg, |
|
|
float |
start_delay, |
|
|
float |
stop_delay, |
|
|
std::string |
start_function, |
|
|
std::string |
stop_function |
|
) |
| |
◆ m_last_input
bool RoR::SimpleInertia::m_last_input = false |
|
private |
◆ m_spline_time
float RoR::SimpleInertia::m_spline_time = 0 |
|
private |
◆ m_start_delay
float RoR::SimpleInertia::m_start_delay = 0 |
|
private |
◆ m_start_spline
Ogre::SimpleSpline* RoR::SimpleInertia::m_start_spline = nullptr |
|
private |
◆ m_stop_delay
float RoR::SimpleInertia::m_stop_delay = 0 |
|
private |
◆ m_stop_spline
Ogre::SimpleSpline* RoR::SimpleInertia::m_stop_spline = nullptr |
|
private |
The documentation for this class was generated from the following files: