Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Apr 26, 2005, 1:03:11 AM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: testet quatSLERP, this function does not seem to work

File:
1 edited

Legend:

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

    r3967 r3970  
    476476            Animation3D* animation = new Animation3D(c);
    477477            animation->setInfinity(ANIM_INF_REPLAY);
    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);
     478            animation->addKeyFrame(Vector(0, 0, 0), Quaternion(Vector(0,0,1), Vector(0,0,1)), 1.0, ANIM_LINEAR);
     479            animation->addKeyFrame(Vector(0, 2, 0), Quaternion(Vector(0,0,1), Vector(1,0,0)), 1.0, ANIM_LINEAR);
     480            //animation->addKeyFrame(Vector(0, 0, 0), Quaternion(), 1.0, ANIM_LINEAR);
    481481
    482482
Note: See TracChangeset for help on using the changeset viewer.