EgtGeomKernel :

- migliorie a VolZmap per determinazione triangoli ribaltati.
This commit is contained in:
Dario Sassi
2019-09-13 16:20:12 +00:00
parent 5d0b52d4d5
commit 8c73b68584
+1 -1
View File
@@ -1973,7 +1973,7 @@ VolZmap::ExtMarchingCubes( int nBlock, VoxelContainer& vVox) const
vtNlm.Normalize() ;
double dDotl = vtNlm * CompoVert[nComp][l].vtVec ;
double dDotm = vtNlm * CompoVert[nComp][m].vtVec ;
if ( dDotl < - 0.85 || dDotm < - 0.85) {
if ( ( dDotl < -0.01 && dDotm < -0.01) || dDotl < -0.95 || dDotm < -0.95) {
bOverTurning = true ;
break ;
}