Work on generating surface patches on demand.

This commit is contained in:
David Williams
2008-07-10 21:43:24 +00:00
parent 8b98d69d4e
commit f32616d5a9
6 changed files with 53 additions and 0 deletions

View File

@ -27,6 +27,7 @@ namespace PolyVox
{
IndexedSurfacePatch::IndexedSurfacePatch()
{
m_iTimeStamp = -1;
}
IndexedSurfacePatch::~IndexedSurfacePatch()

View File

@ -69,4 +69,14 @@ namespace PolyVox
m_v3dLowerCorner += amount;
m_v3dUpperCorner += amount;
}
void Region::shiftLowerCorner(const Vector3DInt32& amount)
{
m_v3dLowerCorner += amount;
}
void Region::shiftUpperCorner(const Vector3DInt32& amount)
{
m_v3dUpperCorner += amount;
}
}