diff --git a/vcg/space/index/aabb_binary_tree/aabb_binary_tree.h b/vcg/space/index/aabb_binary_tree/aabb_binary_tree.h index d23f7234..e191abae 100644 --- a/vcg/space/index/aabb_binary_tree/aabb_binary_tree.h +++ b/vcg/space/index/aabb_binary_tree/aabb_binary_tree.h @@ -95,7 +95,8 @@ public: template inline ObjPtr GetClosest( - OBJPOINTDISTFUNCTOR & _getPointDistance, OBJMARKER & _marker, const CoordType & _p, const ScalarType & _maxDist, + OBJPOINTDISTFUNCTOR & _getPointDistance, OBJMARKER & _marker, + const typename OBJPOINTDISTFUNCTOR::QueryType & _p, const ScalarType & _maxDist, ScalarType & _minDist, CoordType & _closestPt) { (void)_marker; return (AABBBinaryTreeClosest::Closest(this->tree, _getPointDistance, _p, _maxDist, _minDist, _closestPt));