Fixed template definition

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@454 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2011-11-09 08:47:25 +00:00
parent e2ea9c00f6
commit 9995294d23
2 changed files with 19 additions and 21 deletions

View File

@@ -125,13 +125,11 @@ public:
private:
/// squared distance from point _p to triangle (_v0, _v1, _v2)
template <class Vec>
typename Vec::value_type
distPointTriangleSquared( const Vec& _p,
const Vec& _v0,
const Vec& _v1,
const Vec& _v2,
Vec& _nearestPoint );
Scalar distPointTriangleSquared( const Point& _p,
const Point& _v0,
const Point& _v1,
const Point& _v2,
Point& _nearestPoint );
/// compute max error for face _fh w.r.t. its point list and _p