Removed RegionGeometry class.

Did lots of clean up.
This commit is contained in:
David Williams
2008-07-05 20:56:55 +00:00
parent c2e69e0d72
commit 75d1136d96
20 changed files with 66 additions and 126 deletions

View File

@ -73,6 +73,21 @@ namespace PolyVox
return m_vecTriangleIndices;
}
const uint32 IndexedSurfacePatch::getNoOfIndices(void) const
{
return m_vecTriangleIndices.size();
}
const uint32 IndexedSurfacePatch::getNoOfVertices(void) const
{
return m_vecVertices.size();
}
const bool IndexedSurfacePatch::isEmpty(void) const
{
return (getNoOfVertices() == 0) || (getNoOfIndices() == 0);
}
unsigned short IndexedSurfacePatch::getNoNonUniformTrianges(void)
{
unsigned short result = 0;