(SkeletalModel) Added virtual constructor implementation

Former-commit-id: 4a7f356e14f629a728a77f94db7e26c6c4af3b72
This commit is contained in:
Lynix
2015-01-24 16:42:49 +01:00
parent 090263d847
commit 9ebd023848
2 changed files with 13 additions and 1 deletions

View File

@@ -107,6 +107,16 @@ void NzSkeletalModel::AdvanceAnimation(float elapsedTime)
InvalidateBoundingVolume();
}
NzSkeletalModel* NzSkeletalModel::Clone() const
{
return new NzSkeletalModel(*this);
}
NzSkeletalModel* NzSkeletalModel::Create() const
{
return new NzSkeletalModel;
}
void NzSkeletalModel::EnableAnimation(bool animation)
{
m_animationEnabled = animation;