Work on refactoring voxel types.
This commit is contained in:
@ -27,9 +27,33 @@ freely, subject to the following restrictions:
|
||||
|
||||
namespace PolyVox
|
||||
{
|
||||
template<>
|
||||
const int8_t VoxelTypeTraits< Density<int8_t> >::MinDensity = -127;
|
||||
template<>
|
||||
const int8_t VoxelTypeTraits< Density<int8_t> >::MaxDensity = 127;
|
||||
|
||||
template<>
|
||||
const uint8_t VoxelTypeTraits< Density<uint8_t> >::MinDensity = 0;
|
||||
template<>
|
||||
const uint8_t VoxelTypeTraits< Density<uint8_t> >::MaxDensity = 255;
|
||||
|
||||
template<>
|
||||
const int16_t VoxelTypeTraits< Density<int16_t> >::MinDensity = -32767;
|
||||
template<>
|
||||
const int16_t VoxelTypeTraits< Density<int16_t> >::MaxDensity = 32767;
|
||||
|
||||
template<>
|
||||
const uint16_t VoxelTypeTraits< Density<uint16_t> >::MinDensity = 0;
|
||||
template<>
|
||||
const uint16_t VoxelTypeTraits< Density<uint16_t> >::MaxDensity = 65535;
|
||||
|
||||
template<>
|
||||
const float VoxelTypeTraits< Density<float> >::MinDensity = FLT_MIN;
|
||||
template<>
|
||||
const float VoxelTypeTraits< Density<float> >::MaxDensity = FLT_MAX;
|
||||
|
||||
template<>
|
||||
const double VoxelTypeTraits< Density<double> >::MinDensity = DBL_MIN;
|
||||
template<>
|
||||
const double VoxelTypeTraits< Density<double> >::MaxDensity = DBL_MAX;
|
||||
}
|
Reference in New Issue
Block a user