Mostly removed use of VoxelTypeTraits. It's a bit messy because I'm committing halfway through, as I'm away fro my development machine for the next week and want to pick this up from my laptop.
SurfaceExtractor test is currently broken due to custom threshold support not curretly working.
This commit is contained in:
@ -56,7 +56,7 @@ void createSphereInVolume(SimpleVolume<uint8_t>& volData, float fRadius)
|
||||
{
|
||||
//Our new density value
|
||||
//uint8_t uDensity = Density8::getmaxDensity()();
|
||||
uint8_t uDensity = VoxelTypeTraits<Density8>::maxDensity();
|
||||
uint8_t uDensity = std::numeric_limits<uint8_t>::max();
|
||||
|
||||
//Get the old voxel
|
||||
//uint8_t voxel = volData.getVoxelAt(x,y,z);
|
||||
|
Reference in New Issue
Block a user