polyvox/source/RegionGeometry.cpp
2008-02-12 22:14:40 +00:00

24 lines
444 B
C++

#include "IndexedSurfacePatch.h"
#include "RegionGeometry.h"
namespace PolyVox
{
RegionGeometry::RegionGeometry()
{
}
long int RegionGeometry::getSizeInBytes(void)
{
long int size = sizeof(RegionGeometry);
if(m_patchSingleMaterial)
{
size += m_patchSingleMaterial->getSizeInBytes();
}
if(m_patchMultiMaterial)
{
size += m_patchMultiMaterial->getSizeInBytes();
}
return size;
}
}