Added support for Echoes animation formats

This commit is contained in:
parax0
2016-04-28 05:10:49 -06:00
parent 769662b51d
commit 82f037c69e
8 changed files with 269 additions and 78 deletions

View File

@@ -2,6 +2,7 @@
#include "Core/Render/CDrawUtil.h"
#include "Core/Render/CRenderer.h"
#include "Core/OpenGL/GLCommon.h"
#include <Common/Assert.h>
CModel::CModel()
: CBasicModel()
@@ -162,6 +163,8 @@ void CModel::DrawWireframe(FRenderOptions Options, CColor WireColor /*= CColor::
void CModel::SetSkin(CSkin *pSkin)
{
ASSERT(!mpSkin || !pSkin || mpSkin == pSkin); // This is to verify no model has more than one unique skin applied
if (mpSkin != pSkin)
{
const FVertexDescription kBoneFlags = (eBoneIndices | eBoneWeights);