removed useless const in spatial hashing

This commit is contained in:
Paolo Cignoni 2017-03-24 16:49:35 +01:00
parent 6b06c53b09
commit 0965a29520
1 changed files with 5 additions and 5 deletions

View File

@ -1570,11 +1570,11 @@ namespace vcg
HashTable m_HashTable; /*!< The hash table that will substitute the uniform grid. */
BinaryImage m_Bitmap;
const static float m_BOUNDING_BOX_EXPANSION_FACTOR() { return SCALAR_TYPE(0.035); }
const static float m_SIGMA() {return SCALAR_TYPE(1.0f/(2.0f*SCALAR_TYPE(m_DIMENSION)));}
const static int m_MAX_TRIALS_IN_COMPACT_CONSTRUCTION () { return 5; }
const static int m_MAX_NUM_OF_RANDOM_GENERATED_OFFSET() {return 32;}
const static int m_DIMENSION() {return 3;}
static float m_BOUNDING_BOX_EXPANSION_FACTOR() { return SCALAR_TYPE(0.035); }
static float m_SIGMA() {return SCALAR_TYPE(1.0f/(2.0f*SCALAR_TYPE(m_DIMENSION)));}
static int m_MAX_TRIALS_IN_COMPACT_CONSTRUCTION () { return 5; }
static int m_MAX_NUM_OF_RANDOM_GENERATED_OFFSET() {return 32;}
static int m_DIMENSION() {return 3;}
}; //end of class PerfectSpatialHashing
/*! @} */