Changeset 6757 in orxonox.OLD for trunk/src/lib/particles
- Timestamp:
- Jan 26, 2006, 2:08:16 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/particles/particle_system.cc
r6633 r6757 287 287 if (likely (tickPart->mass > 0.0)) 288 288 tickPart->velocity += tickPart->extForce / tickPart->mass * dt; 289 // rendering new position.290 tickPart->position += tickPart->velocity * dt;291 tickPart->orientation += tickPart->momentum *dt;292 289 293 290 tickPart->radius = radiusAnim.getValue(tickPart->lifeCycle) … … 304 301 tickPart->color[2] = this->colorAnim[2].getValue(tickPart->lifeCycle); 305 302 tickPart->color[3] = this->colorAnim[3].getValue(tickPart->lifeCycle); 303 304 // rendering new position. 305 tickPart->position += tickPart->velocity * dt; 306 tickPart->orientation += tickPart->momentum *dt; 306 307 307 308 // many more to come
Note: See TracChangeset
for help on using the changeset viewer.