Speed up jumping.
This commit is contained in:
parent
897e4fd271
commit
68ebc16422
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ namespace cloonel {
|
||||||
///--------------------------------------------------------------------------
|
///--------------------------------------------------------------------------
|
||||||
void MoverSine::ApplyMotion (float parDelta) {
|
void MoverSine::ApplyMotion (float parDelta) {
|
||||||
const float pitwo = static_cast<float>(M_PI) * 2.0f;
|
const float pitwo = static_cast<float>(M_PI) * 2.0f;
|
||||||
m_alpha += parDelta;
|
m_alpha += parDelta * 2.6f;
|
||||||
if (m_alpha >= pitwo)
|
if (m_alpha >= pitwo)
|
||||||
m_alpha -= pitwo;
|
m_alpha -= pitwo;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue