"Lightening" particle bugg fixed. Scale and alpha interpolation implemented through ScalarInterpolation-funtion

This commit is contained in:
Stiffly
2015-10-13 15:22:11 +02:00
parent d4c79e338c
commit 94cac38cc6
6 changed files with 835 additions and 781 deletions
+3 -1
View File
@@ -33,8 +33,10 @@ namespace Components
struct Particle : public Component
{
EntityID ParticleSystem;
float Radius = 0.5f;
float LifeTime = 5.0f;
double TimeLived = 0;
double LifeTime = 5;
ParticleFlags::Type Flags = static_cast<ParticleFlags::Type>(
ParticleFlags::Water