Removed redundant hasMaterial and hasDensity traits.
Changed AStar default validator.
This commit is contained in:
@ -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(); }
|
||||
};
|
||||
|
Reference in New Issue
Block a user