From c2e01165d64e9642ef8dfdc9139e6ad357dbe792 Mon Sep 17 00:00:00 2001 From: cignoni Date: Fri, 16 Sep 2005 11:53:51 +0000 Subject: [PATCH] Small gcc compliling issues --- vcg/complex/trimesh/closest.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vcg/complex/trimesh/closest.h b/vcg/complex/trimesh/closest.h index 53eee3ac..53ece141 100644 --- a/vcg/complex/trimesh/closest.h +++ b/vcg/complex/trimesh/closest.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.9 2005/09/15 13:16:10 spinelli +fixed bugs + Revision 1.8 2005/09/15 11:15:00 pietroni minor changes @@ -209,9 +212,9 @@ void Closest( MESH & mesh, const Point3 & p, GRID & gr, SCALAR & mdist, //} scalar error = mdist; - typedef Tmark Marker; + typedef Tmark Marker; Marker t=Marker(mesh); - MESH::FaceType* bestf= gr.GetClosest(p,error,bestq,t); + typename MESH::FaceType* bestf= gr.GetClosest(p,error,bestq,t); if(mdist > scalar(fabs(error))) {