Linear fade added to particles

This commit is contained in:
Stiffly
2014-05-31 22:15:00 +02:00
parent 370dbb96ad
commit a31e3faa1f
6 changed files with 80 additions and 90 deletions
+2 -1
View File
@@ -30,9 +30,10 @@ struct ParticleEmitter : Component
float SpreadAngle;
double LifeTime;
bool UseGoalVelocity;
bool Fade;
glm::vec3 GoalVelocity;
std::vector<float> AngularVelocitySpectrum;
std::vector<glm::vec3> OrientationSpectrum; //Keep?
std::vector<glm::vec3> OrientationSpectrum; //Keep? noo..
private:
double TimeSinceLastSpawn;