removed all deprecated std::unary_function
This commit is contained in:
parent
659d2d12f2
commit
d7cbcfa1dc
|
|
@ -33,10 +33,8 @@
|
||||||
|
|
||||||
namespace vcg{
|
namespace vcg{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// hashing function
|
// hashing function
|
||||||
struct HashFunctor : public std::unary_function<Point3i, size_t>
|
struct HashFunctor
|
||||||
{
|
{
|
||||||
enum
|
enum
|
||||||
{ // parameters for hash table
|
{ // parameters for hash table
|
||||||
|
|
|
||||||
|
|
@ -52,10 +52,8 @@
|
||||||
|
|
||||||
namespace vcg{
|
namespace vcg{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// hashing function
|
// hashing function
|
||||||
struct HashFunctor2D : public std::unary_function<Point2i, size_t>
|
struct HashFunctor2D
|
||||||
{
|
{
|
||||||
enum
|
enum
|
||||||
{ // parameters for hash table
|
{ // parameters for hash table
|
||||||
|
|
@ -78,9 +76,6 @@ namespace vcg{
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/** Spatial Hash Table
|
/** Spatial Hash Table
|
||||||
Spatial Hashing as described in
|
Spatial Hashing as described in
|
||||||
"Optimized Spatial Hashing for Coll ision Detection of Deformable Objects",
|
"Optimized Spatial Hashing for Coll ision Detection of Deformable Objects",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue