From: jfa Date: Wed, 7 Mar 2012 12:31:51 +0000 (+0000) Subject: Porting to OCCT6.5.3 X-Git-Tag: V6_5_0a1~36 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c1bc8299f0d7562e75176a56ecb4a15f45c18ee5;p=modules%2Fgeom.git Porting to OCCT6.5.3 --- diff --git a/src/GEOMImpl/GEOMImpl_PrismDriver.cxx b/src/GEOMImpl/GEOMImpl_PrismDriver.cxx index 40e7c054d..b827850ab 100644 --- a/src/GEOMImpl/GEOMImpl_PrismDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_PrismDriver.cxx @@ -482,7 +482,7 @@ TopoDS_Shape GEOMImpl_PrismDriver::MakeDraftPrism ( const TopoDS_Shape& theInitS } BRepFeat_MakeDPrism aPrism(theInitShape, aFaceBase, TopoDS_Face(), - anAngle*PI180, isProtrusion, Standard_True); + anAngle*M_PI/180., isProtrusion, Standard_True); aPrism.Perform(aHeight); aPrism.Check(); // Raises NotDone if done is false