More work refactoring basic voxel types.

This commit is contained in:
David Williams
2012-01-24 15:17:43 +01:00
parent 21ce252e1e
commit b4f7ac4f46
7 changed files with 142 additions and 50 deletions

View File

@ -26,7 +26,7 @@ freely, subject to the following restrictions:
namespace PolyVox
{
template<typename Type>
const typename Type::DensityType VoxelTypeTraits<Type>::MinDensity = 0;
const Type VoxelTypeTraits<Type>::MinDensity = 0;
template<typename Type>
const typename Type::DensityType VoxelTypeTraits<Type>::MaxDensity = 0;
const Type VoxelTypeTraits<Type>::MaxDensity = 0;
}