Changeset 4186 in orxonox.OLD for orxonox/branches/physics/src/lib/graphics/particles/particle_system.cc
- Timestamp:
- May 14, 2005, 10:57:14 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/physics/src/lib/graphics/particles/particle_system.cc
r4182 r4186 249 249 \brief applies some force to a Particle. 250 250 */ 251 void ParticleSystem::applyField( Field* field)251 void ParticleSystem::applyField(float dt, Field* field) 252 252 { 253 253 Particle* tickPart = particles; 254 254 while (tickPart) 255 255 { 256 tickPart->extForce += field->calcForce( tickPart->position);256 tickPart->extForce += field->calcForce(dt, tickPart->position); 257 257 tickPart = tickPart->next; 258 258 }
Note: See TracChangeset
for help on using the changeset viewer.