put class in namespace tri, removed useless parameter from DistanceFromBorder()

This commit is contained in:
Paolo Cignoni 2008-12-21 01:37:29 +00:00
parent 5e1ccc4cfc
commit 36c902097a
1 changed files with 3 additions and 2 deletions

View File

@ -56,6 +56,7 @@ basic example: farthest vertex from a specified one
*/ */
namespace vcg{ namespace vcg{
namespace tri{
template <class MeshType> template <class MeshType>
class Geo{ class Geo{
@ -396,7 +397,6 @@ public:
Note: update the field Q() of the vertices Note: update the field Q() of the vertices
*/ */
static void DistanceFromBorder( MeshType & m, static void DistanceFromBorder( MeshType & m,
VertexPointer & v0,
ScalarType & distance ScalarType & distance
){ ){
std::vector<VertexPointer> fro; std::vector<VertexPointer> fro;
@ -409,4 +409,5 @@ public:
} }
}; };
};// end namespace };// end namespace tri
};// end namespace vcg