Refactored CParticle->Radius to CParticle->Scale. Reviewed by Tobias Dahl aka Tleety.

This commit is contained in:
Stiffly
2015-10-14 18:29:43 +02:00
parent cbb6e7a04f
commit 46f3a9f72e
5 changed files with 25 additions and 21 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ namespace Components
struct Particle : public Component
{
EntityID ParticleSystem;
float Radius = 0.5f;
glm::vec3 Scale = glm::vec3(1.f);
double TimeLived = 0;
double LifeTime = 5;
+1 -1
View File
@@ -24,7 +24,7 @@ struct ParticleEmitter : public Component
float RadiusDistribution = 0;
//values to interpolate between.
std::vector<float> RadiusValues;
std::vector<glm::vec3> ScaleValues;
std::vector<float> AlphaValues;
//System variables
+1 -1
View File
@@ -26,7 +26,7 @@ struct CreateParticleSequence : public Event
glm::vec4 Color = glm::vec4(0);
EntityID parent = 0;
// values to interpolate between.
std::vector<float> RadiusValues;
std::vector<glm::vec3> ScaleValues;
std::vector<float> AlphaValues;
//Particle