Some tidying up...

This commit is contained in:
David Williams
2008-06-07 16:31:34 +00:00
parent f1319949f5
commit 201f0c9003
4 changed files with 40 additions and 46 deletions

View File

@@ -63,4 +63,10 @@ namespace PolyVox
m_v3dUpperCorner.setY((std::min)(m_v3dUpperCorner.getY(), other.m_v3dUpperCorner.getY()));
m_v3dUpperCorner.setZ((std::min)(m_v3dUpperCorner.getZ(), other.m_v3dUpperCorner.getZ()));
}
void Region::shift(const Vector3DInt32& amount)
{
m_v3dLowerCorner += amount;
m_v3dUpperCorner += amount;
}
}