Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 25, 2005, 2:49:51 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/particleEngine: some more functionality to the vectors-class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/particleEngine/src/lib/graphics/particles/particle_emitter.cc

    r3951 r3958  
    134134        randDir.normalize();
    135135        randDir = (this->getAbsDir()*Quaternion(angle + randomAngle *((float)random()/RAND_MAX -.5), randDir)).apply(this->direction);
    136         randDir = *randDir.getNormalized()*velocity + (this->getVelocity() * system->inheritSpeed);
     136        randDir = randDir.getNormalized()*velocity + (this->getVelocity() * system->inheritSpeed);
    137137
    138138        system->addParticle(this->getAbsCoor(), randDir);
Note: See TracChangeset for help on using the changeset viewer.