Reasonable but harmless clang warning cleanup

This commit is contained in:
Paolo Cignoni 2014-07-01 10:08:00 +00:00
parent 073e07a309
commit cf856d0a6b
1 changed files with 1 additions and 1 deletions

View File

@ -662,7 +662,7 @@ bool IntersectionTriangleBox(const vcg::Box3<ScalarType> &bbox,
diag[1]=Segment3<ScalarType>(bbox.P(1),bbox.P(6));
diag[2]=Segment3<ScalarType>(bbox.P(2),bbox.P(5));
diag[3]=Segment3<ScalarType>(bbox.P(3),bbox.P(4));
ScalarType a,b,dist;
ScalarType a,b;
for (int i=0;i<3;i++)
if (IntersectionSegmentTriangle<ScalarType>(diag[i],p0,p1,p2,a,b))
return true;