Changeset 10523 in orxonox.OLD for trunk/src/world_entities/particles
- Timestamp:
- Jan 30, 2007, 11:14:26 PM (18 years ago)
- Location:
- trunk/src/world_entities/particles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/particles/particle_system.cc
r10520 r10523 281 281 } 282 282 283 284 /** 285 * attackes 286 * @param node 287 */ 288 void ParticleSystem::attachEmmittersTo(PNode* node, const Vector& offset) 289 { 290 std::list<ParticleEmitter*>::iterator it = this->emitters.begin(); 291 for( ; it != this->emitters.end(); it++) 292 { 293 // 294 (*it)->setParent(node); 295 (*it)->setRelCoor(offset); 296 } 297 } 298 299 300 283 301 /** 284 302 * @brief does a Precaching, meaning, that the ParticleSystem(and its emitters) will be ticked force -
trunk/src/world_entities/particles/particle_system.h
r9869 r10523 96 96 void removeEmitter(ParticleEmitter* emitter); 97 97 98 void attachEmmittersTo(PNode* node, const Vector& offset); 99 98 100 virtual void applyField(const Field* field); 99 101 /** @brief this is an empty function, because the Physics are implemented in tick @param dt: useless here */
Note: See TracChangeset
for help on using the changeset viewer.