Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 13, 2008, 2:24:00 PM (16 years ago)
Author:
landauf
Message:

moved tolua from util to core because of circular dependencies
reverted some bugfixes in ParticleInterface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/particle/ParticleInterface.cc

    r1021 r1037  
    6969  {
    7070    //Abgleichen der anderen Emitter an die Variabeln
    71     for (int i=1; i < numberOfEmitters_; i++) {
     71    for (int i=0; i < numberOfEmitters_; i++) {
    7272      particleSystem_->getEmitter(i)->setColour( colour_ );
    7373      particleSystem_->getEmitter(i)->setTimeToLive( distance_ );
     
    8484  }
    8585
    86   void ParticleInterface::setRate(int r)
     86  void ParticleInterface::setRate(float r)
    8787  {
    8888    rate_ = r;
     
    127127  Vector3 ParticleInterface::getPositionOfEmitter ( int emitterNr )
    128128  {
    129     return particleSystem_->getEmitter(0)->getPosition();
     129    return particleSystem_->getEmitter(emitterNr)->getPosition();
    130130  }
    131131
Note: See TracChangeset for help on using the changeset viewer.