Angular velocity support

This commit is contained in:
Stiffly
2014-04-28 19:12:51 +02:00
parent ea4b7b005e
commit 68761c9291
5 changed files with 43 additions and 23 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ namespace Components
std::vector<float> ScaleSpectrum;
double LifeTime;
std::vector<glm::vec3> VelocitySpectrum;
std::vector<glm::vec3> AngularVelocitySpectrum;
std::vector<float> AngularVelocitySpectrum;
virtual Particle* Clone() const override { return new Particle(*this); }
};
+1 -1
View File
@@ -29,7 +29,7 @@ struct ParticleEmitter : Component
float SpreadAngle;
double LifeTime;
std::vector<glm::vec3> VelocitySpectrum;
std::vector<glm::vec3> AngularVelocitySpectrum;
std::vector<float> AngularVelocitySpectrum;
virtual ParticleEmitter* Clone() const override { return new ParticleEmitter(*this); }