Removed redundant hasMaterial and hasDensity traits.

Changed AStar default validator.
This commit is contained in:
unknown
2012-02-20 12:51:54 +01:00
parent a20db7d7cf
commit 8d3a66a08c
7 changed files with 38 additions and 55 deletions

View File

@ -99,10 +99,6 @@ namespace PolyVox
public:
typedef uint8_t DensityType;
typedef uint8_t MaterialType;
static const bool HasDensity = true;
static const bool HasMaterial = false;
static bool hasDensity() { return true; }
static bool hasMaterial() { return false; }
static Density8::DensityType minDensity() { return std::numeric_limits<Density8::DensityType>::min(); }
static Density8::DensityType maxDensity() { return std::numeric_limits<Density8::DensityType>::max(); }
};