Some pretty darn cool explosions

This commit is contained in:
Stiffly
2014-06-01 01:15:53 +02:00
parent 804b0cac60
commit 756107363e
8 changed files with 42 additions and 14 deletions
+4 -1
View File
@@ -9,14 +9,17 @@ namespace Events
{
struct CreateExplosion : Event
{
CreateExplosion()
: Color(glm::vec4(0)) {}
glm::vec3 Position;
glm::vec4 Color;
double LifeTime;
int ParticlesToSpawn;
std::string spritePath;
glm::quat RelativeUpOrientation;
float Speed;
float SpreadAngle;
float ParticleScale;
std::vector<float> ParticleScale;
};
}