Fixes to the way the marching cubes controller is used.

This commit is contained in:
unknown
2012-07-15 23:19:59 +02:00
parent b140e16083
commit 66035c6d13
3 changed files with 13 additions and 12 deletions

View File

@ -42,6 +42,9 @@ using namespace PolyVox;
class CustomMarchingCubesController
{
public:
typedef float DensityType;
typedef float MaterialType;
float convertToDensity(float voxel)
{
return voxel;