EgtGeomKernel :

- modifiche e migliorie alle booleane delle TriMesh.
This commit is contained in:
Dario Sassi
2019-11-25 08:01:50 +00:00
parent 29694209fa
commit eff21f5df8
2 changed files with 55 additions and 72 deletions
+1 -1
View File
@@ -588,7 +588,7 @@ Triangulate::CalcTriangleAspectRatio( const Point3d& ptPa, const Point3d& ptPb,
if ( dTwoArea < SQ_EPS_SMALL)
return INFINITO ;
else
return ( (std::max)( dSqDistA, (std::max)( dSqDistB, dSqDistC)) / dTwoArea) ;
return ( max( { dSqDistA, dSqDistB, dSqDistC}) / dTwoArea) ;
}
//----------------------------------------------------------------------------