Committing half-finished work on test so that I can work on it from elsewhere.

This commit is contained in:
David Williams
2014-08-11 08:46:06 +02:00
parent eaea74b7f8
commit 4b3c8a1648
2 changed files with 23 additions and 5 deletions

View File

@ -318,6 +318,8 @@ namespace PolyVox
typename Controller::DensityType m_tThreshold;
};
// We don't provide a default MeshType here. If the user doesn't want to provide a MeshType then it probably makes
// more sense to use the other variaent of this function where the mesh is a return value rather than a parameter.
template< typename VolumeType, typename MeshType, typename Controller = DefaultMarchingCubesController<typename VolumeType::VoxelType> >
void extractMarchingCubesMesh(VolumeType* volData, Region region, MeshType* result, WrapMode eWrapMode = WrapModes::Border, typename VolumeType::VoxelType tBorderValue = typename VolumeType::VoxelType(), Controller controller = Controller())
{