Refactoring of basic voxel types.
This commit is contained in:
parent
ce11a7a0ae
commit
b9269c1778
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user