Changeset 4433 in orxonox.OLD for orxonox/trunk/src/lib/particles/particle_system.cc
- Timestamp:
- Jun 1, 2005, 10:47:42 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/particles/particle_system.cc
r4431 r4433 450 450 451 451 // 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); 456 454 457 455 ++this->count;
Note: See TracChangeset
for help on using the changeset viewer.