From c1bc8299f0d7562e75176a56ecb4a15f45c18ee5 Mon Sep 17 00:00:00 2001 From: jfa Date: Wed, 7 Mar 2012 12:31:51 +0000 Subject: [PATCH] Porting to OCCT6.5.3 --- src/GEOMImpl/GEOMImpl_PrismDriver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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