Initial version of mesh decimation.

This commit is contained in:
David Williams
2008-06-10 21:45:38 +00:00
parent f8a090abba
commit 33cb721cc0
7 changed files with 324 additions and 3 deletions

View File

@ -32,6 +32,9 @@ namespace PolyVox
template <typename VoxelType>
Vector3DFloat computeSmoothCentralDifferenceGradient(BlockVolumeIterator<VoxelType>& volIter);
template <typename VoxelType>
Vector3DFloat computeDecimatedCentralDifferenceGradient(BlockVolumeIterator<VoxelType>& volIter);
template <typename VoxelType>
Vector3DFloat computeSobelGradient(const BlockVolumeIterator<VoxelType>& volIter);
}