Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6757 in orxonox.OLD for trunk/src/lib/particles


Ignore:
Timestamp:
Jan 26, 2006, 2:08:16 AM (19 years ago)
Author:
bensch
Message:

trunk: nicer burst

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/particles/particle_system.cc

    r6633 r6757  
    287287    if (likely (tickPart->mass > 0.0))
    288288      tickPart->velocity += tickPart->extForce / tickPart->mass * dt;
    289     // rendering new position.
    290     tickPart->position += tickPart->velocity * dt;
    291     tickPart->orientation += tickPart->momentum *dt;
    292289
    293290    tickPart->radius = radiusAnim.getValue(tickPart->lifeCycle)
     
    304301    tickPart->color[2] = this->colorAnim[2].getValue(tickPart->lifeCycle);
    305302    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;
    306307
    307308    // many more to come
Note: See TracChangeset for help on using the changeset viewer.