예제 #1
0
파일: OgreKeyFrame.cpp 프로젝트: Kanma/Ogre
 //---------------------------------------------------------------------
 KeyFrame* TransformKeyFrame::_clone(AnimationTrack* newParent) const
 {
     TransformKeyFrame* newKf = OGRE_NEW TransformKeyFrame(newParent, mTime);
     newKf->mTranslate = mTranslate;
     newKf->mScale = mScale;
     newKf->mRotate = mRotate;
     return newKf;
 }
예제 #2
0
 //--------------------------------------------------------------------------
 KeyFrame* NodeAnimationTrack::createKeyFrameImpl(Real time)
 {
     return OGRE_NEW TransformKeyFrame(this, time);
 }