Corrected a wrong usage of IntersectionSegmentTriangle (could not compile...)
This commit is contained in:
parent
adfa6dde12
commit
bf1e2977d0
|
@ -664,7 +664,7 @@ bool IntersectionTriangleBox(const vcg::Box3<ScalarType> &bbox,
|
|||
diag[3]=Segment3<ScalarType>(bbox.P(3),bbox.P(4));
|
||||
ScalarType a,b,dist;
|
||||
for (int i=0;i<3;i++)
|
||||
if (IntersectionSegmentTriangle<ScalarType>(diag[i],p0,p1,p2,a,b,dist))
|
||||
if (IntersectionSegmentTriangle<ScalarType>(diag[i],p0,p1,p2,a,b))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue