Water splash

This commit is contained in:
Stiffly
2014-06-04 03:26:29 +02:00
parent 90a92d05e4
commit 72a8ee9080
5 changed files with 86 additions and 36 deletions
+2
View File
@@ -20,6 +20,7 @@ struct ParticleEmitter : Component
, SpreadAngle(0)
, LifeTime(0)
, TimeSinceLastSpawn(100)
, Emitting(false)
, Color(glm::vec4(0)) { }
EntityID ParticleTemplate;
@@ -32,6 +33,7 @@ struct ParticleEmitter : Component
double LifeTime;
bool UseGoalVelocity;
bool Fade;
bool Emitting;
glm::vec3 GoalVelocity;
std::vector<float> AngularVelocitySpectrum;
std::vector<glm::vec3> OrientationSpectrum; //Keep? noo..