Changeset 10528 in orxonox.OLD for trunk/src/world_entities/particles
- Timestamp:
- Jan 31, 2007, 12:13:14 AM (18 years ago)
- Location:
- trunk/src/world_entities/particles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/particles/particle_system.cc
r10523 r10528 286 286 * @param node 287 287 */ 288 void ParticleSystem::attachEmmittersTo(PNode* node, const Vector& offset )288 void ParticleSystem::attachEmmittersTo(PNode* node, const Vector& offset, const Quaternion& dir) 289 289 { 290 290 std::list<ParticleEmitter*>::iterator it = this->emitters.begin(); … … 294 294 (*it)->setParent(node); 295 295 (*it)->setRelCoor(offset); 296 (*it)->setRelDir(dir); 296 297 } 297 298 } -
trunk/src/world_entities/particles/particle_system.h
r10523 r10528 96 96 void removeEmitter(ParticleEmitter* emitter); 97 97 98 void attachEmmittersTo(PNode* node, const Vector& offset );98 void attachEmmittersTo(PNode* node, const Vector& offset, const Quaternion& dir); 99 99 100 100 virtual void applyField(const Field* field);
Note: See TracChangeset
for help on using the changeset viewer.