Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 1, 2005, 10:30:13 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: particles: color is animatable too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/particles/particle_system.h

    r4430 r4431  
    7979  void setRadius(float lifeCycleTime, float radius, float randRadius = 0.0);
    8080  void setMass(float lifeCycleTime, float mass, float randMass = 0.0);
    81   void setColor(GLfloat br, GLfloat bg, GLfloat bb, GLfloat ba,
    82                 GLfloat mr, GLfloat mg, GLfloat mb, GLfloat ma,
    83                 GLfloat er, GLfloat eg, GLfloat eb, GLfloat ea);
    84 
    85 
     81  void setColor(float lifeCycleTime, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
    8682
    8783  /** \returns the Type of the particles */
     
    126122  float inheritSpeed;        //!< How much speed the particle inherits from the Emitters speed \todo move this to the emitter
    127123
    128   GLfloat startColor[4];     //!< Color of the Particle at the beginning
    129   GLfloat midColor[4];       //!< Color of the Particle at the middle of its lifeSpan
    130   GLfloat endColor[4];       //!< Color of the Particle at the end of its lifeSpan
    131 
    132124  // particles
    133125  int maxCount;              //!< The maximum count of Particles.
     
    141133  GLuint dialectCount;       //!< How many different types of particles are there in the Particle System 
    142134
     135  // per particle attributes
    143136  QuickAnimation radiusAnim;
    144137  QuickAnimation randRadiusAnim;
Note: See TracChangeset for help on using the changeset viewer.