Brought back extractSubset from Thermite. Fixed to work with PositionMaterial vertices. Also made it a free function.
This commit is contained in:
@ -93,6 +93,9 @@ namespace PolyVox
|
||||
//exist on a material boundary do not count.
|
||||
std::set<uint8_t> m_mapUsedMaterials;
|
||||
};
|
||||
|
||||
template <typename VertexType>
|
||||
polyvox_shared_ptr< SurfaceMesh<VertexType> > extractSubset(SurfaceMesh<VertexType>& inputMesh, std::set<uint8_t> setMaterials);
|
||||
}
|
||||
|
||||
#include "SurfaceMesh.inl"
|
||||
|
Reference in New Issue
Block a user