//--------------------------------------------------------------------- KeyFrame* TransformKeyFrame::_clone(AnimationTrack* newParent) const { TransformKeyFrame* newKf = OGRE_NEW TransformKeyFrame(newParent, mTime); newKf->mTranslate = mTranslate; newKf->mScale = mScale; newKf->mRotate = mRotate; return newKf; }
//-------------------------------------------------------------------------- KeyFrame* NodeAnimationTrack::createKeyFrameImpl(Real time) { return OGRE_NEW TransformKeyFrame(this, time); }