(SubMesh) Renamed GetSkinIndex to GetMaterialIndex

Former-commit-id: 7d28e3baa39342234495c9637e7e4886ffdc4b5a
This commit is contained in:
Lynix 2012-11-27 21:44:32 +01:00
parent 626cebfffa
commit 5d9bf5ed7b
2 changed files with 2 additions and 2 deletions

View File

@ -28,9 +28,9 @@ class NAZARA_API NzSubMesh : public NzResource
virtual const NzAxisAlignedBox& GetAABB() const = 0;
virtual nzAnimationType GetAnimationType() const = 0;
virtual const NzIndexBuffer* GetIndexBuffer() const = 0;
unsigned int GetMaterialIndex() const;
const NzMesh* GetParent() const;
nzPrimitiveType GetPrimitiveType() const;
unsigned int GetSkinIndex() const;
virtual const NzVertexBuffer* GetVertexBuffer() const = 0;
virtual unsigned int GetVertexCount() const;

View File

@ -29,7 +29,7 @@ nzPrimitiveType NzSubMesh::GetPrimitiveType() const
return m_primitiveType;
}
unsigned int NzSubMesh::GetSkinIndex() const
unsigned int NzSubMesh::GetMaterialIndex() const
{
return m_matIndex;
}