Changeset 3826 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Apr 14, 2005, 2:02:21 AM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/animation.h
r3825 r3826 50 50 ANIM_FUNCTION animFunc; 51 51 }; 52 53 54 /**********************TEST*******************************/ 55 class aTest 56 { 57 public: 58 aTest() {} 59 ~aTest() {} 60 void littleDebug(float f) { printf("setting f to:%f\n", f);} 61 }; 62 63 //aTest::aTest() {} 64 //aTest::~aTest() {} 65 66 //void aTest::littleDebug(float f) 67 68 /**********************TEST*******************************/ 69 52 70 53 71 class Anim … … 120 138 AnimKeyFrame* nextKeyFrame; 121 139 tList<AnimKeyFrame>* keyFrameList; 122 123 140 124 141 … … 339 356 340 357 358 359 341 360 #endif /* _ANIMATION_H */ -
orxonox/trunk/src/story_entities/world.cc
r3816 r3826 378 378 testText->setBindNode(tn); 379 379 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); 381 382 testAnim->addKeyFrame(0.0, 1.0, ANIM_LINEAR); 382 383 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); 385 386 testAnim->setInfinity(ANIM_INF_REWIND); 386 387 break;
Note: See TracChangeset
for help on using the changeset viewer.