Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 21, 2007, 1:48:08 AM (17 years ago)
Author:
bknecht
Message:

changes from landauf

File:
1 edited

Legend:

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

    r10528 r10658  
    339339                     + randMassAnim.getValue(tickPart->lifeCycle) * tickPart->massRand;
    340340
    341     tickPart->extForce = Vector(0,0,0);
     341    //tickPart->extForce = Vector(0,0,0);
    342342
    343343    // applying Color
     
    422422 * @param data some more data given by the emitter
    423423*/
    424 void ParticleSystem::addParticle(const Vector& position, const Vector& velocity, const Quaternion& orientation, const Quaternion& momentum, unsigned int data)
     424void ParticleSystem::addParticle(const Vector& position, const Vector& velocity, const Quaternion& orientation, const Quaternion& momentum, const Vector& extForce, unsigned int data)
    425425{
    426426  if (this->count <= this->maxCount)
     
    462462    particles->position = position;
    463463    particles->velocity = velocity;
     464    particles->extForce = extForce;
    464465
    465466    particles->orientation = orientation;
Note: See TracChangeset for help on using the changeset viewer.