From 16354ff4357335b2a76cf111463c326f8aefe3e9 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Thu, 18 Sep 2025 08:43:22 +0200 Subject: [PATCH] EgtGeomKernel : - piccola correzione (seno non coseno). --- VolZmapCreation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VolZmapCreation.cpp b/VolZmapCreation.cpp index 1913825..1421676 100644 --- a/VolZmapCreation.cpp +++ b/VolZmapCreation.cpp @@ -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 ;