debug: function Offset called without pars

This commit is contained in:
ganovelli 2007-05-08 18:54:20 +00:00
parent de99d5c2d9
commit b8df8c98db
1 changed files with 4 additions and 1 deletions

View File

@ -24,6 +24,9 @@
History History
$Log: not supported by cvs2svn $ $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 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. Method Set(off, dir) now correctly normalizes direction and offset if template parameter NORM is set.
@ -171,7 +174,7 @@ template<class T> T Distance(const Plane3<T> &plane, const Point3<T> &point) {
///Distance point-plane (Move this function to somewhere else) ///Distance point-plane (Move this function to somewhere else)
template<class T> T Distance(const Point3<T> &point, const Plane3<T> &plane) { template<class T> T Distance(const Point3<T> &point, const Plane3<T> &plane) {
return plane.Direction() * point - plane.Offset; return plane.Direction() * point - plane.Offset();
} }
} // end namespace } // end namespace