Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4348 in orxonox.OLD for orxonox/trunk/src/lib/graphics


Ignore:
Timestamp:
May 28, 2005, 12:05:50 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: particles now move at the desired velocity

File:
1 edited

Legend:

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

    r4338 r4348  
    231231  while (likely(tickPart != NULL))
    232232    {
    233       tickPart->position = tickPart->position + tickPart->velocity;
     233      tickPart->position = tickPart->position + tickPart->velocity * dt;
    234234      tickPart->radius += tickPart->radiusIt * dt;
    235235
Note: See TracChangeset for help on using the changeset viewer.