Added some normal smoothing code.

This commit is contained in:
David Williams
2009-07-04 17:51:14 +00:00
parent a7a90a03a1
commit ebcf266bc7
2 changed files with 44 additions and 0 deletions

View File

@ -54,6 +54,7 @@ namespace PolyVox
const bool isEmpty(void) const;
void smooth(float fAmount, bool bIncludeEdgeVertices = false);
void sumNearbyNormals(bool bNormalise = true);
POLYVOX_SHARED_PTR<IndexedSurfacePatch> extractSubset(std::set<uint8_t> setMaterials);