From b083dabc6be6683ba43efb3b92567f30db2f0888 Mon Sep 17 00:00:00 2001 From: Daniele Bariletti Date: Wed, 24 Sep 2025 09:35:52 +0200 Subject: [PATCH] EgtGeomKernel : - correzione piccolo errore --- VolZmapVolume.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/VolZmapVolume.cpp b/VolZmapVolume.cpp index 5a86031..3558439 100644 --- a/VolZmapVolume.cpp +++ b/VolZmapVolume.cpp @@ -863,6 +863,8 @@ GetCylMoveRotBBox( const Point3d& ptP1, const Point3d& ptP2, const Vector3d& vtV Vector3d vtDirTop = ptP2 - ptP1 ; Vector3d vtDirTip = ptP2T - ptP1T ; + vtDirTop.Normalize() ; + vtDirTip.Normalize() ; // determino i punti laterali del top e del bottom(tip), nella posizione di partenza Vector3d vtAuxTopS = vtV1 ^ vtDirTop ;