EgtGeomKernel :

- piccola correzione (seno non coseno).
This commit is contained in:
Dario Sassi
2025-09-18 08:43:22 +02:00
parent f3a191dd62
commit 16354ff435
+2 -2
View File
@@ -505,7 +505,7 @@ VolZmap::CreateMapPart( int nMap, int nInfI, int nSupI, int nInfJ, int nSupJ, co
nSupJ < 0 || nSupJ > m_nNy[nMap])
return false ;
double dCosSmall = cos( EPS_ANG_SMALL * DEGTORAD) ;
double dCosSmall = sin( EPS_ANG_SMALL * DEGTORAD) ;
// Determinazione e ridimensionamento dei dexel interni alla trimesh
for ( int i = nInfI ; i < nSupI ; ++ i) {
@@ -567,7 +567,7 @@ VolZmap::CreateMapPart( int nMap, int nInfI, int nSupI, int nInfJ, int nSupJ, co
}
// esco dalla superficie trimesh
else if ( dCos > dCosSmall && bInside) {
else if ( dCos > dCosSmall && bInside) {
Point3d ptOut = IntersectionResults[k].ptI ;