예제 #1
0
파일: animation.cpp 프로젝트: Chiur/openmw
Animation::Animation(const MWWorld::Ptr &ptr, Ogre::SceneNode *node)
    : mPtr(ptr)
    , mInsert(node)
    , mSkelBase(NULL)
    , mAccumRoot(NULL)
    , mNonAccumRoot(NULL)
    , mNonAccumCtrl(NULL)
    , mAccumulate(0.0f)
    , mNullAnimationTimePtr(OGRE_NEW NullAnimationTime)
{
    for(size_t i = 0;i < sNumGroups;i++)
        mAnimationTimePtr[i].bind(OGRE_NEW AnimationTime(this));
}
예제 #2
0
 /// CONSTRUCTOR
 KeyPose( const AnimationTime& time = AnimationTime() ) : KeyFrame< Core::Animation::Pose >( time ) { }