Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3967 in orxonox.OLD for orxonox/trunk/src/story_entities/world.cc


Ignore:
Timestamp:
Apr 26, 2005, 12:31:54 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: animation3d now ANIM_COSINE works also

File:
1 edited

Legend:

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

    r3965 r3967  
    471471            c->setRelCoor(Vector(10.0, 2.0, -1.0));
    472472            this->spawn(c);
    473            
     473
     474
    474475           
    475476            Animation3D* animation = new Animation3D(c);
    476477            animation->setInfinity(ANIM_INF_REPLAY);
    477             animation->addKeyFrame(Vector(0, 0, 0), Quaternion(), 1.0, ANIM_SINE);
    478             animation->addKeyFrame(Vector(1, 1, -1), Quaternion(), 1.0, ANIM_SINE);
    479             animation->addKeyFrame(Vector(0, 0, 0), Quaternion(), 1.0, ANIM_SINE);
     478            animation->addKeyFrame(Vector(0, 0, 0), Quaternion(), 1.0, ANIM_COSINE);
     479            animation->addKeyFrame(Vector(1, 1, -1), Quaternion(), 1.0, ANIM_COSINE);
     480            animation->addKeyFrame(Vector(0, 0, 0), Quaternion(), 1.0, ANIM_COSINE);
     481
     482
     483
    480484
    481485
Note: See TracChangeset for help on using the changeset viewer.