diff --git a/API_GeoSnap.cpp b/API_GeoSnap.cpp index 4d1e666..3c7ce21 100644 --- a/API_GeoSnap.cpp +++ b/API_GeoSnap.cpp @@ -507,21 +507,19 @@ __stdcall EgtSurfTmFacetNormVersor( int nId, int nFacet, int nRefId, double vtNo //---------------------------------------------------------------------------- BOOL __stdcall EgtSurfTmFacetOppositeSide( int nId, int nFacet, const double vtDir[3], int nRefId, - double ptP1[3], double ptP2[3], double vtIn1[3], double vtOut2[3]) + double ptP1[3], double ptP2[3]) { // verifica parametri - if ( vtDir == nullptr || ptP1 == nullptr || ptP2 == nullptr || vtIn1 == nullptr || vtOut2 == nullptr) + if ( vtDir == nullptr || ptP1 == nullptr || ptP2 == nullptr) return FALSE ; // recupero gli estremi del lato opposto Point3d ptMyP1, ptMyP2 ; Vector3d vtMyIn1, vtMyOut2 ; - if ( ! ExeSurfTmFacetOppositeSide( nId, nFacet, vtDir, nRefId, ptMyP1, ptMyP2, vtMyIn1, vtMyOut2)) + if ( ! ExeSurfTmFacetOppositeSide( nId, nFacet, vtDir, nRefId, ptMyP1, ptMyP2)) return FALSE ; // assegno risultati VEC_FROM_3D( ptP1, ptMyP1) VEC_FROM_3D( ptP2, ptMyP2) - VEC_FROM_3D( vtIn1, vtMyIn1) - VEC_FROM_3D( vtOut2, vtMyOut2) return TRUE ; } diff --git a/EgtInterface.rc b/EgtInterface.rc index 41a6c49..0e97843 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ