Merge branch 'feature/region-enhancements' into develop

This commit is contained in:
David Williams 2012-11-24 12:27:19 +01:00
commit d2cc4da68d
2 changed files with 19 additions and 0 deletions

View File

@ -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;

View File

@ -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);