projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
[occt.git]
/
src
/
SWDRAW
/
SWDRAW_ShapeUpgrade.cxx
diff --git
a/src/SWDRAW/SWDRAW_ShapeUpgrade.cxx
b/src/SWDRAW/SWDRAW_ShapeUpgrade.cxx
index
1bfa4d9
..
893d4f0
100755
(executable)
--- a/
src/SWDRAW/SWDRAW_ShapeUpgrade.cxx
+++ b/
src/SWDRAW/SWDRAW_ShapeUpgrade.cxx
@@
-447,7
+447,7
@@
static Standard_Integer DT_SplitAngle(Draw_Interpretor& di,
if ( maxangle <1 ) maxangle = 1;
}
- ShapeUpgrade_ShapeDivideAngle tool(maxangle*PI/180,inputShape);
+ ShapeUpgrade_ShapeDivideAngle tool(maxangle*
M_
PI/180,inputShape);
tool.Perform();
TopoDS_Shape res = tool.Result();