Refactoring of basic voxel types.

This commit is contained in:
unknown 2012-01-24 16:22:11 +01:00
parent ce11a7a0ae
commit b9269c1778
2 changed files with 4 additions and 4 deletions

View File

@ -68,8 +68,8 @@ namespace PolyVox
class VoxelTypeTraits
{
public:
const static Type MinDensity;
const static Type MaxDensity;
const static bool HasDensity;
const static bool HasMaterial;
};
}

View File

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