Added velocity interpolation

This commit is contained in:
Stiffly
2014-04-22 18:58:41 +02:00
parent 78d4dbf8c2
commit bdac6fa9f9
3 changed files with 35 additions and 6 deletions
+13
View File
@@ -90,6 +90,19 @@ void GameWorld::Initialize()
emitter->Loop = true;
GetSystem<Systems::SoundSystem>("SoundSystem")->PlaySound(emitter);
}*/
// {
// // Particle emitter
// auto ent = CreateEntity();
// auto transform = AddComponent<Components::Transform>(ent, "Transform");
// transform->Position = glm::vec3(0);
// auto emitter = AddComponent<Components::ParticleEmitter>(ent, "ParticleEmitter");
// emitter->LifeTime = 4;
// emitter->SpawnCount = 3;
// emitter->SpreadAngle = 35;
// emitter->SpawnFrequency = 0.3;
// //emitter->
// }
}
void GameWorld::Update(double dt)