corrected 1 warning in DistancePoint3Box3 function

This commit is contained in:
Nico Pietroni 2008-04-07 10:26:10 +00:00
parent 3edf76179c
commit 517108e947
1 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,9 @@
History History
$Log: not supported by cvs2svn $ $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 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) 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<ScalarType> &test,
//no more cases //no more cases
assert(0); assert(0);
///this is for warnings
return(0);
} }