Added getter methods for lower corner. (Trivial commit - part of Git testing)

This commit is contained in:
David Williams 2012-11-24 10:20:20 +01:00
parent 24dcdcb97d
commit cb992b7c34
2 changed files with 19 additions and 0 deletions

View File

@ -65,6 +65,10 @@ namespace PolyVox
/// Inequality Operator.
bool operator!=(const Region& rhs) const;
int32_t getLowerX(void) const;
int32_t getLowerY(void) const;
int32_t getLowerZ(void) const;
Vector3DInt32 getLowerCorner(void) const;
Vector3DInt32 getUpperCorner(void) const;

View File

@ -92,6 +92,21 @@ namespace PolyVox
return !(*this == rhs);
}
int32_t Region::getLowerX(void) const
{
return m_iLowerX;
}
int32_t Region::getLowerY(void) const
{
return m_iLowerY;
}
int32_t Region::getLowerZ(void) const
{
return m_iLowerZ;
}
Vector3DInt32 Region::getLowerCorner(void) const
{
return Vector3DInt32(m_iLowerX, m_iLowerY, m_iLowerZ);