Added scale and color interpolation

This commit is contained in:
Stiffly
2014-04-22 17:59:55 +02:00
parent 55221cca12
commit 78d4dbf8c2
2 changed files with 34 additions and 4 deletions
+5 -1
View File
@@ -5,6 +5,8 @@
#include "Components/Transform.h"
#include "Components/ParticleEmitter.h"
#include "Components/Particle.h"
#include "Color.h"
#include <GLFW/glfw3.h>
namespace Systems
@@ -13,7 +15,9 @@ namespace Systems
struct ParticleData
{
EntityID ParticleID;
double TimeLived;
double SpawnTime;
float Scale;
Color color;
};
class ParticleSystem : public System