diff --git a/vcg/space/line3.h b/vcg/space/line3.h index 4d5fe74f..e1d8a1c5 100644 --- a/vcg/space/line3.h +++ b/vcg/space/line3.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.8 2004/05/14 03:14:04 ponchio +Added Distance + Revision 1.7 2004/05/10 10:58:35 ganovelli name of the constructor changed from LineType to Line3 @@ -206,7 +209,7 @@ Point3 ClosestPoint( Line3 l, const Point3 ScalarType Distance(const Line3 &l, const Point3 &p) { - Point3f o = l.ClosestPoint(p); + Point3 o = l.ClosestPoint(p); return (o - p).Norm(); }