Changeset 3958 in orxonox.OLD for orxonox/branches/particleEngine/src/lib/graphics/particles
- Timestamp:
- Apr 25, 2005, 2:49:51 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/particleEngine/src/lib/graphics/particles/particle_emitter.cc
r3951 r3958 134 134 randDir.normalize(); 135 135 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); 137 137 138 138 system->addParticle(this->getAbsCoor(), randDir);
Note: See TracChangeset
for help on using the changeset viewer.