From 517108e94787dd55ecfb5549c7d3afaa9bf46846 Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Mon, 7 Apr 2008 10:26:10 +0000 Subject: [PATCH] corrected 1 warning in DistancePoint3Box3 function --- vcg/space/box3.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vcg/space/box3.h b/vcg/space/box3.h index b10b10fd..f6b7425f 100644 --- a/vcg/space/box3.h +++ b/vcg/space/box3.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.19 2008/03/05 11:48:08 pietroni +correct 1 error on DistancePoint3Box3 (if the point is inside the box return distance to the nearest face instead of zero) + Revision 1.18 2008/02/03 23:50:51 cignoni Important Change. Now adding a null bbox to a bbox leave it unchanged (instead of trashing it) @@ -563,6 +566,8 @@ ScalarType DistancePoint3Box3(const Point3 &test, //no more cases assert(0); + ///this is for warnings + return(0); }