Many more things done

This commit is contained in:
Ayumiwii
2016-01-11 19:59:45 +01:00
parent 3467315aef
commit 0630885d92
13 changed files with 153 additions and 37 deletions
+10 -5
View File
@@ -67,13 +67,18 @@ struct ModelJob : RenderJob
struct CoolDeathAnimationJob : ModelJob
{
glm::vec3 OriginPos;
float TimeSinceDeath = 0.f;
float EndOfDeath = 15.0f;
double TimeSinceDeath = 0.f;
double EndOfDeath = 2.f;
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 UseRandomness = false;
std::array<float, 10> RandomNumbers;
float RandomnessScalar = 1.f;
float Acceleration = 0.f;
};
struct SpriteJob : RenderJob
{
unsigned int ShaderID = 0;