Changeset 10658 in orxonox.OLD for trunk/src/world_entities/particles/particle_system.cc
- Timestamp:
- May 21, 2007, 1:48:08 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/particles/particle_system.cc
r10528 r10658 339 339 + randMassAnim.getValue(tickPart->lifeCycle) * tickPart->massRand; 340 340 341 tickPart->extForce = Vector(0,0,0);341 //tickPart->extForce = Vector(0,0,0); 342 342 343 343 // applying Color … … 422 422 * @param data some more data given by the emitter 423 423 */ 424 void ParticleSystem::addParticle(const Vector& position, const Vector& velocity, const Quaternion& orientation, const Quaternion& momentum, unsigned int data)424 void ParticleSystem::addParticle(const Vector& position, const Vector& velocity, const Quaternion& orientation, const Quaternion& momentum, const Vector& extForce, unsigned int data) 425 425 { 426 426 if (this->count <= this->maxCount) … … 462 462 particles->position = position; 463 463 particles->velocity = velocity; 464 particles->extForce = extForce; 464 465 465 466 particles->orientation = orientation;
Note: See TracChangeset
for help on using the changeset viewer.