Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 1, 2005, 10:47:42 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: no more flickering effect at the beginning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/particles/particle_system.cc

    r4431 r4433  
    450450
    451451      //  particle->rotation = ; //! \todo rotation is once again something to be done.
    452       particles->mass = this->initialMass + (rand()/RAND_MAX -.5)* this->randomInitialMass;
    453       particles->radius = this->startRadius + (rand()/RAND_MAX-.5)*this->randomStartRadius;
    454      
    455       particles->radiusIt = (this->endRadius + (rand()/RAND_MAX-.5)*this->randomEndRadius - particles->radius) / particles->lifeTime;
     452      particles->mass = this->massAnim.getValue(0.0);
     453      particles->radius = this->radiusAnim.getValue(0.0);
    456454
    457455      ++this->count;
Note: See TracChangeset for help on using the changeset viewer.