Generalized interpolation functions. (orientation spectrum not working properly (quaterions...))

This commit is contained in:
Stiffly
2014-04-29 11:51:57 +02:00
parent 0feb983277
commit a13e9d32ec
5 changed files with 61 additions and 49 deletions
+2 -1
View File
@@ -12,10 +12,11 @@ namespace Components
struct Particle : Component
{
std::vector<Color> ColorSpectrum;
std::vector<float> ScaleSpectrum;
std::vector<glm::vec3> ScaleSpectrum;
double LifeTime;
std::vector<glm::vec3> VelocitySpectrum;
std::vector<float> AngularVelocitySpectrum;
std::vector<glm::vec3> OrientationSpectrum; //Keep?
virtual Particle* Clone() const override { return new Particle(*this); }
};