Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10528 in orxonox.OLD for trunk/src/world_entities/particles


Ignore:
Timestamp:
Jan 31, 2007, 12:13:14 AM (18 years ago)
Author:
patrick
Message:

iterative mp part sys fix

Location:
trunk/src/world_entities/particles
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/particles/particle_system.cc

    r10523 r10528  
    286286 * @param node
    287287 */
    288 void ParticleSystem::attachEmmittersTo(PNode* node, const Vector& offset)
     288void ParticleSystem::attachEmmittersTo(PNode* node, const Vector& offset, const Quaternion& dir)
    289289{
    290290  std::list<ParticleEmitter*>::iterator it = this->emitters.begin();
     
    294294    (*it)->setParent(node);
    295295    (*it)->setRelCoor(offset);
     296    (*it)->setRelDir(dir);
    296297  }
    297298}
  • trunk/src/world_entities/particles/particle_system.h

    r10523 r10528  
    9696  void removeEmitter(ParticleEmitter* emitter);
    9797
    98   void attachEmmittersTo(PNode* node, const Vector& offset);
     98  void attachEmmittersTo(PNode* node, const Vector& offset, const Quaternion& dir);
    9999
    100100  virtual void applyField(const Field* field);
Note: See TracChangeset for help on using the changeset viewer.