]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Porting to OCCT6.5.3
authorjfa <jfa@opencascade.com>
Wed, 7 Mar 2012 12:31:51 +0000 (12:31 +0000)
committerjfa <jfa@opencascade.com>
Wed, 7 Mar 2012 12:31:51 +0000 (12:31 +0000)
src/GEOMImpl/GEOMImpl_PrismDriver.cxx

index 40e7c054d559a3ded8a58e5488f7abf6635002f5..b827850ab64c252977bef01c64d2777427f41819 100644 (file)
@@ -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