mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
0026788: Compiler warnings when OCCT_DEBUG is enabled
Clean-up in code causing warnings when OCCT_DEBUG is enabled Minor corrections: - new compiler warnings on VC++ 14 - rename of "PPC" variables that are said to caused conflicts on PowerPC - removal of unused header TopOpeBRep/TopOpeBRep_tools.hxx
This commit is contained in:
@@ -1633,7 +1633,7 @@ void Geom_OffsetSurface::SetD0(const Standard_Real U, const Standard_Real V,
|
||||
D1U.SquareMagnitude() + D1V.SquareMagnitude() > MagTol * MagTol)
|
||||
{
|
||||
// Use non-null derivative as normal direction in degenerated case.
|
||||
gp_Vec aNorm = D1U.SquareMagnitude() > MagTol * MagTol ? D1U : D1V;
|
||||
aNorm = D1U.SquareMagnitude() > MagTol * MagTol ? D1U : D1V;
|
||||
aNorm.Normalize();
|
||||
|
||||
P.SetXYZ(P.XYZ() + offsetValue * signe * aNorm.XYZ());
|
||||
|
Reference in New Issue
Block a user