From 8dc8e70f50e747a93032adb158c1117ef62bece6 Mon Sep 17 00:00:00 2001 From: ganovelli Date: Thu, 13 May 2004 12:38:39 +0000 Subject: [PATCH] changed calls to Dist --- apps/metro/min_dist_point.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/metro/min_dist_point.h b/apps/metro/min_dist_point.h index 321b49e6..2b78bd4d 100644 --- a/apps/metro/min_dist_point.h +++ b/apps/metro/min_dist_point.h @@ -129,7 +129,7 @@ void MinDistPoint( MESH & mesh, const Point3 & p, GRID & gr, SCALAR & md if( ! mesh.IsMarked( &*(l->Elem())) ) { - if( (*(l->Elem())).Dist( p, error, q) ) + if( Dist((*(l->Elem())), p, error, q) ) { bestq = q; bestf = l->Elem(); @@ -170,7 +170,7 @@ void MinDistPoint( MESH & mesh, const Point3 & p, GRID & gr, SCALAR & md for(l=first;l!=last;++l) if( ! mesh.IsMarked( &*(l->Elem())) ) { - if( (*(l->Elem())).Dist( p, error, q) ) + if( Dist((*(l->Elem())), p, error, q) ) { bestq = q; bestf = l->Elem();