diff --git a/library/PolyVoxCore/include/PolyVoxCore/Region.h b/library/PolyVoxCore/include/PolyVoxCore/Region.h index 45b86d60..1e20f5b7 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/Region.h +++ b/library/PolyVoxCore/include/PolyVoxCore/Region.h @@ -69,6 +69,10 @@ namespace PolyVox int32_t getLowerY(void) const; int32_t getLowerZ(void) const; + int32_t getUpperX(void) const; + int32_t getUpperY(void) const; + int32_t getUpperZ(void) const; + Vector3DInt32 getLowerCorner(void) const; Vector3DInt32 getUpperCorner(void) const; diff --git a/library/PolyVoxCore/source/Region.cpp b/library/PolyVoxCore/source/Region.cpp index 834a4f77..aa6bb957 100644 --- a/library/PolyVoxCore/source/Region.cpp +++ b/library/PolyVoxCore/source/Region.cpp @@ -107,6 +107,21 @@ namespace PolyVox return m_iLowerZ; } + int32_t Region::getUpperX(void) const + { + return m_iUpperX; + } + + int32_t Region::getUpperY(void) const + { + return m_iUpperY; + } + + int32_t Region::getUpperZ(void) const + { + return m_iUpperZ; + } + Vector3DInt32 Region::getLowerCorner(void) const { return Vector3DInt32(m_iLowerX, m_iLowerY, m_iLowerZ);