Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3826 in orxonox.OLD for orxonox/trunk/src/story_entities


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

orxonox/trunk: animation debug function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.cc

    r3816 r3826  
    378378            testText->setBindNode(tn);
    379379
    380             tAnim<Text>* testAnim = new tAnim<Text>(testText, &Text::setBlending);
     380            aTest* test = new aTest();
     381            tAnim<aTest>* testAnim = new tAnim<aTest>(test, &aTest::littleDebug);
    381382            testAnim->addKeyFrame(0.0, 1.0, ANIM_LINEAR);
    382383            testAnim->addKeyFrame(1.0, 1.0, ANIM_LINEAR);
    383             testAnim->addKeyFrame(0.0, 1.0, ANIM_LINEAR);
    384             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);
    385386            testAnim->setInfinity(ANIM_INF_REWIND);
    386387            break;
Note: See TracChangeset for help on using the changeset viewer.