More dilation and erosion functions for region.

This commit is contained in:
David Williams
2012-11-24 21:32:17 +01:00
parent e048f7c2f6
commit 6d7246f907
2 changed files with 54 additions and 17 deletions

View File

@ -119,10 +119,15 @@ namespace PolyVox
void shift(const Vector3DInt32& amount);
void shiftLowerCorner(const Vector3DInt32& amount);
void shiftUpperCorner(const Vector3DInt32& amount);
//FIXME - Add dilate and erode functions?
void dilate(int32_t amount);
void erode(int32_t amount);
void dilate(int32_t iAmount);
void dilate(int32_t iAmountX, int32_t iAmountY, int32_t iAmountZ);
void dilate(const Vector3DInt32& v3dAmount);
void erode(int32_t iAmount);
void erode(int32_t iAmountX, int32_t iAmountY, int32_t iAmountZ);
void erode(const Vector3DInt32& v3dAmount);
private: