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
+2 -2
View File
@@ -18,13 +18,13 @@ namespace Systems
double SpawnTime;
float Scale;
Color color;
glm::vec3 Velocity;
};
class ParticleSystem : public System
{
public:
ParticleSystem(World* world)
:System(world) { };
ParticleSystem(World* world);
void RegisterComponents(ComponentFactory* cf) override;
void Update(double dt) override;