Added VectorInterpolation function. Fixed time bug for particles.

This commit is contained in:
Stiffly
2015-10-16 12:43:40 +02:00
parent 0600230ed4
commit bf82e549aa
3 changed files with 39 additions and 25 deletions
+1 -1
View File
@@ -400,7 +400,7 @@ void dd::Systems::LevelSystem::BrickHit(EntityID entityHitter, EntityID entityBr
p.parent = b;
p.AlphaValues.push_back(1.f);
p.AlphaValues.push_back(0.f);
p.ScaleValues.push_back(glm::vec3(0.06f));
p.ScaleValues.push_back(glm::vec3(0.08f));
p.ScaleValues.push_back(glm::vec3(0.f));
p.RadiusDistribution = 1;
p.EmitterLifeTime = 2.f;