Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3828 in orxonox.OLD for orxonox


Ignore:
Timestamp:
Apr 14, 2005, 2:08:40 AM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: little chang removing frames and changing signes in substr

Location:
orxonox/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/animation.h

    r3827 r3828  
    5858  aTest() { last = 0.0;}
    5959  ~aTest() {}
    60   void littleDebug(float f) {  diff = last - f; printf("f=%f, diff=%f\n", f,diff); last = f;}
     60  void littleDebug(float f) {  diff = f - last; printf("f=%f, diff=%f\n", f,diff); last = f;}
    6161 private:
    6262  float diff;
  • orxonox/trunk/src/story_entities/world.cc

    r3826 r3828  
    382382            testAnim->addKeyFrame(0.0, 1.0, ANIM_LINEAR);
    383383            testAnim->addKeyFrame(1.0, 1.0, ANIM_LINEAR);
    384             testAnim->addKeyFrame(0.0, 1.0, ANIM_SINE);
    385             testAnim->addKeyFrame(1.0, 1.0, ANIM_SINE);
     384            //testAnim->addKeyFrame(0.0, 1.0, ANIM_LINEAR);
     385            //testAnim->addKeyFrame(1.0, 1.0, ANIM_LINEAR);
    386386            testAnim->setInfinity(ANIM_INF_REWIND);
    387387            break;
Note: See TracChangeset for help on using the changeset viewer.