From 536ae3ac092899dd76171bfe0f01a55fde6ad5f4 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Wed, 16 Jan 2019 08:22:49 +0000 Subject: [PATCH] EgtGeomKernel : - ricompilazione. --- EgtGeomKernel.vcxproj | 6 ++++-- VolZmapCalculus.cpp | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/EgtGeomKernel.vcxproj b/EgtGeomKernel.vcxproj index 64b4702..c207774 100644 --- a/EgtGeomKernel.vcxproj +++ b/EgtGeomKernel.vcxproj @@ -176,7 +176,7 @@ copy $(TargetPath) \EgtProg\DllD64 true true WIN32;_WINDOWS;I_AM_EGK;NDEBUG;%(PreprocessorDefinitions) - false + true CompileAsCpp Speed AnySuitable @@ -189,6 +189,7 @@ copy $(TargetPath) \EgtProg\DllD64 true true + true Windows @@ -222,7 +223,7 @@ copy $(TargetPath) \EgtProg\Dll32 true true WIN32;_WINDOWS;I_AM_EGK;NDEBUG;%(PreprocessorDefinitions) - false + true CompileAsCpp Speed AnySuitable @@ -232,6 +233,7 @@ copy $(TargetPath) \EgtProg\Dll32 Precise true true + true Windows diff --git a/VolZmapCalculus.cpp b/VolZmapCalculus.cpp index 5acfd78..395d286 100644 --- a/VolZmapCalculus.cpp +++ b/VolZmapCalculus.cpp @@ -734,7 +734,7 @@ VolZmap::IntersLineCylinder( const Point3d& ptLineSt, const Vector3d& vtLineDir, } // Determino le intersezioni con la superficie laterale del cilindro - DBLVECTOR vdCoef(3) ; + DBLVECTOR vdCoef( 3) ; double dSqRad = dRad * dRad ; vdCoef[0] = ptP.x * ptP.x + ptP.y * ptP.y - dSqRad ; vdCoef[1] = 2 * ( ptP.x * vtV.x + ptP.y * vtV.y) ;