Show
Ignore:
Timestamp:
07/30/10 18:06:22 (19 months ago)
Author:
robert
Message:

Changed emit() to emitParticles() to avoid collision with Qt.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgParticle/Emitter

    r5328 r11687  
    2828{ 
    2929 
    30     /**    An abstract base class for particle emitters. 
    31         Descendant classes must override the <CODE>emit()</CODE> method to generate new particles by 
     30    /** An abstract base class for particle emitters. 
     31        Descendant classes must override the <CODE>emitParticles()</CODE> method to generate new particles by 
    3232        calling the <CODE>ParticleSystem::createParticle()</CODE> method on the particle system associated 
    3333        to the emitter. 
     
    6464        inline void process(double dt); 
    6565         
    66         virtual void emit(double dt) = 0; 
     66        virtual void emitParticles(double dt) = 0; 
    6767         
    6868        bool _usedeftemp; 
     
    9595    inline void Emitter::process(double dt) 
    9696    { 
    97         emit(dt); 
     97        emitParticles(dt); 
    9898    } 
    9999