Removed Keyframe animation type

Former-commit-id: 807c81e9b738dbb443c3101026f7b5bdff32a931
This commit is contained in:
Lynix
2013-03-05 10:54:58 +01:00
parent a97da928a2
commit e26728c424
10 changed files with 68 additions and 1033 deletions

View File

@@ -154,26 +154,6 @@ void NzAnimation::AnimateSkeleton(NzSkeleton* targetSkeleton, unsigned int frame
}
}
bool NzAnimation::CreateKeyframe(unsigned int frameCount)
{
Destroy();
#if NAZARA_UTILITY_SAFE
if (frameCount == 0)
{
NazaraError("Frame count must be over zero");
return false;
}
#endif
m_impl = new NzAnimationImpl;
m_impl->frameCount = frameCount;
m_impl->type = nzAnimationType_Keyframe;
NotifyCreated();
return true;
}
bool NzAnimation::CreateSkeletal(unsigned int frameCount, unsigned int jointCount)
{
Destroy();