First pass that actually work
Not at all done, but it'll have to do for now
This commit is contained in:
@@ -69,17 +69,18 @@ struct CoolDeathAnimationJob : ModelJob
|
||||
glm::vec3 ExplosionOrigin;
|
||||
double TimeSinceDeath = 0.f; //Seconds
|
||||
double ExplosionDuration = 2.f;
|
||||
bool Gravity = true;
|
||||
double GravityForce = 1.f; // Speed
|
||||
double ObjectRadius = 2.f; // TODO: Change this for object radius when it's available
|
||||
//bool Gravity = true;
|
||||
//double GravityForce = 1.f; // Speed
|
||||
//double ObjectRadius = 2.f; // TODO: Change this for object radius when it's available
|
||||
glm::vec4 EndColor;
|
||||
bool Randomness = false;
|
||||
std::array<float, 20> RandomNumbers;
|
||||
float RandomnessScalar = 1.f;
|
||||
glm::vec2 Acceleration;
|
||||
bool ColorPerPolygon = false;
|
||||
bool ReverseAnimation = false;
|
||||
bool Wireframe = false;
|
||||
glm::vec2 Velocity;
|
||||
bool ColorByDistance = false;
|
||||
//bool ReverseAnimation = false;
|
||||
//bool Wireframe = false;
|
||||
bool ExponentialAccelaration = false;
|
||||
};
|
||||
|
||||
struct SpriteJob : RenderJob
|
||||
|
||||
Reference in New Issue
Block a user