Added non-constant access to vertex buffer

Former-commit-id: c0fea611caf6fb48bd0b2ed56897c173f7acad41
This commit is contained in:
Lynix
2012-12-31 11:14:40 +01:00
parent 6fefa3fdd2
commit c73d10ab29
7 changed files with 35 additions and 0 deletions

View File

@@ -100,6 +100,11 @@ const NzIndexBuffer* NzStaticMesh::GetIndexBuffer() const
return m_indexBuffer;
}
NzVertexBuffer* NzStaticMesh::GetVertexBuffer()
{
return m_vertexBuffer;
}
const NzVertexBuffer* NzStaticMesh::GetVertexBuffer() const
{
return m_vertexBuffer;