From 65c81124dda1d1432519e7ffc6c6fca4f2bc9d27 Mon Sep 17 00:00:00 2001 From: ponchio Date: Thu, 13 May 2004 23:39:47 +0000 Subject: [PATCH] SegmentType -> Segment3 in constructor (g++ complained) --- vcg/space/segment3.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vcg/space/segment3.h b/vcg/space/segment3.h index 3d400d26..37e9f4bb 100644 --- a/vcg/space/segment3.h +++ b/vcg/space/segment3.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.4 2004/05/08 14:07:50 ganovelli +return type of length and squaredlength corrected + Revision 1.3 2004/03/11 11:47:20 tarini minor updates, corrections, added documentations, etc. @@ -79,7 +82,7 @@ public: /// The empty constructor Segment3() {}; /// The (a,b) constructor - SegmentType(const PointType &a, const PointType &b) { _p0=a; _p1=b; }; + Segment3(const PointType &a, const PointType &b) { _p0=a; _p1=b; }; /// Operator to compare segments inline bool operator == ( SegmentType const & p ) const { return _p0==p._p0 && _p1==p._p1; } @@ -155,4 +158,4 @@ Point3 ClosestPoint( Segment3 s, const Point3