diff --git a/vcg/space/plane3.h b/vcg/space/plane3.h index 83a07bf7..924c0a26 100644 --- a/vcg/space/plane3.h +++ b/vcg/space/plane3.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.9 2007/04/04 23:22:29 pietroni +setted to const the parameter passed to function Projection + Revision 1.8 2005/09/26 19:49:30 m_di_benedetto Method Set(off, dir) now correctly normalizes direction and offset if template parameter NORM is set. @@ -171,7 +174,7 @@ template T Distance(const Plane3 &plane, const Point3 &point) { ///Distance point-plane (Move this function to somewhere else) template T Distance(const Point3 &point, const Plane3 &plane) { - return plane.Direction() * point - plane.Offset; + return plane.Direction() * point - plane.Offset(); } } // end namespace