Smoothare acceleration

This commit is contained in:
Tobias Dahl
2014-03-13 20:13:28 +01:00
parent f76c0b336f
commit 53c7609e11
+1
View File
@@ -108,6 +108,7 @@ void Systems::PlayerSystem::UpdateEntity(double dt, EntityID entity, EntityID pa
}
else
{
transform->Position -= Ship_Right * (float)dt * Euler.z;
if(Euler.z < 1.5f && Euler.z > -1.5f)
transform->Orientation = glm::angleAxis<float>(0,glm::vec3(0,0,1));
else if(Euler.z < 0.f)