diff --git a/library/PolyVoxCore/include/PolyVoxCore/Voxel.h b/library/PolyVoxCore/include/PolyVoxCore/Voxel.h index d76b3365..6474d71d 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/Voxel.h +++ b/library/PolyVoxCore/include/PolyVoxCore/Voxel.h @@ -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; }; } diff --git a/library/PolyVoxCore/source/Voxel.cpp b/library/PolyVoxCore/source/Voxel.cpp index 00770b82..c271e278 100644 --- a/library/PolyVoxCore/source/Voxel.cpp +++ b/library/PolyVoxCore/source/Voxel.cpp @@ -26,7 +26,7 @@ freely, subject to the following restrictions: namespace PolyVox { template - const Type VoxelTypeTraits::MinDensity = 0; + const bool VoxelTypeTraits::HasDensity = false; template - const Type VoxelTypeTraits::MaxDensity = 0; + const bool VoxelTypeTraits::HasMaterial = false; } \ No newline at end of file