Speed up jumping.

This commit is contained in:
King_DuckZ 2014-02-22 17:07:23 +01:00
parent 897e4fd271
commit 68ebc16422

View file

@ -24,7 +24,7 @@ namespace cloonel {
///--------------------------------------------------------------------------
void MoverSine::ApplyMotion (float parDelta) {
const float pitwo = static_cast<float>(M_PI) * 2.0f;
m_alpha += parDelta;
m_alpha += parDelta * 2.6f;
if (m_alpha >= pitwo)
m_alpha -= pitwo;
}