Changeset 4377 in orxonox.OLD for orxonox/trunk/src/lib/graphics
- Timestamp:
- May 29, 2005, 1:24:40 PM (20 years ago)
- Location:
- orxonox/trunk/src/lib/graphics/particles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/particles/particle_system.cc
r4370 r4377 289 289 /** 290 290 \brief applies some force to a Particle. 291 \param field the Field to apply. 292 \param dt The time over which the field gets applied 291 293 */ 292 void ParticleSystem::applyField( float dt, Field* field)294 void ParticleSystem::applyField(Field* field, float dt) 293 295 { 294 296 Particle* tickPart = particles; -
orxonox/trunk/src/lib/graphics/particles/particle_system.h
r4349 r4377 8 8 9 9 #include "base_object.h" 10 #include "physics_interface.h" 11 10 12 #include "vector.h" 11 13 … … 55 57 56 58 //! A class to handle particle Systems 57 class ParticleSystem : public BaseObject{59 class ParticleSystem : public PhysicsInterface { 58 60 friend class ParticleEmitter; 59 61 … … 95 97 inline float getMass(void) const { return this->initialMass; }; 96 98 97 void applyField( float dt, Field* field);99 void applyField(Field* field, float dt); 98 100 99 101 void tick(float dt);
Note: See TracChangeset
for help on using the changeset viewer.