Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7987 in orxonox.OLD for branches/gui


Ignore:
Timestamp:
May 30, 2006, 6:33:06 PM (19 years ago)
Author:
bensch
Message:

gui: smoothed movement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/gui/gl_gui/glgui_cursor.cc

    r7985 r7987  
    7575    this->backMaterial().setDiffuse(color.x, color.y, color.z);
    7676
    77     if (this->movement != Vector2D())
     77    //if (this->movement != Vector2D())
    7878    {
    7979      newPos += movement;
     
    9191      movement = Vector2D();
    9292    }
    93     this->setAbsCoorSoft2D(newPos, 10);
     93    this->setAbsCoor2D(newPos);
    9494  }
    9595
Note: See TracChangeset for help on using the changeset viewer.