Refactored CParticle->Radius to CParticle->Scale. Reviewed by Tobias Dahl aka Tleety.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user