Improvements to smoothing code.

This commit is contained in:
David Williams
2009-07-04 21:35:10 +00:00
parent 3229fcd62e
commit ab906a03f6
2 changed files with 71 additions and 42 deletions

View File

@ -53,8 +53,8 @@ namespace PolyVox
void clear(void);
const bool isEmpty(void) const;
void smooth(float fAmount, bool bIncludeEdgeVertices = false);
void sumNearbyNormals(bool bNormalise = true);
void smoothPositions(float fAmount, uint8_t uNoRequiredUses = 0);
void sumNearbyNormals(bool bNormaliseResult = true);
POLYVOX_SHARED_PTR<IndexedSurfacePatch> extractSubset(std::set<uint8_t> setMaterials);