Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 23, 2005, 1:28:24 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/particleEngine: minor patches, and now it renders particle-faces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/particleEngine/src/lib/graphics/particles/particle_system.h

    r3938 r3942  
    1818                            PARTICLE_PRIMITIVE};
    1919
    20 #define PARTICLE_DEFAULT_MAX_COUNT 200         //!< a default count of particles in the system.
    21 #define PARTICLE_DEFAULT_TYPE  PARTICLE_SPRITE //!< A default type of the system.
     20#define PARTICLE_DEFAULT_MAX_COUNT    200               //!< a default count of particles in the system.
     21#define PARTICLE_DEFAULT_TYPE         PARTICLE_SPRITE  //!< A default type of the system.
    2222
    2323// FORWARD DEFINITION
     
    4848  virtual ~ParticleSystem();
    4949
     50  void setType(PARTICLE_TYPE particleType, int count = 0);
    5051  void setMaterial(Material* material);
    5152  void setInheritSpeed(float value);
    5253  void setLifeSpan(float lifeSpan, float randomLifeSpan = 0.0);
    53   void setRadius(float startRadius, float endRadius, float randomRadius = 0.0);
     54  void setRadius(float startRadius, float endRadius, float randomStartRadius = 0.0, float randomEndRadius = 0.0);
    5455  void setConserve(float conserve);
    5556  void setMass(float mass, float randomMass);
     
    6465  float startRadius;
    6566  float endRadius;
    66   float randomRadius;
     67  float randomStartRadius;
     68  float randomEndRadius;
    6769  float initialMass;
    6870  float randomInitialMass;
     
    7678  Particle* particles;       //!< A list of particles of this System.
    7779
     80  GLuint* glID;              //!< A List of different gl-List-ID's
     81  GLuint dialectCount;       //!< How many different types of particles are there in the Particle System
    7882
    7983  void addParticle(Vector position, Vector velocity, unsigned int data = 0);
Note: See TracChangeset for help on using the changeset viewer.