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
/
BRepTest
/
BRepTest_SweepCommands.cxx
diff --git
a/src/BRepTest/BRepTest_SweepCommands.cxx
b/src/BRepTest/BRepTest_SweepCommands.cxx
index
93a1676
..
118c3ae
100755
(executable)
--- a/
src/BRepTest/BRepTest_SweepCommands.cxx
+++ b/
src/BRepTest/BRepTest_SweepCommands.cxx
@@
-100,7
+100,7
@@
static Standard_Integer revol(Draw_Interpretor& ,
gp_Dir D(atof(a[6]),atof(a[7]),atof(a[8]));
gp_Ax1 A(P,D);
- Standard_Real angle = atof(a[9]) *
PI180
;
+ Standard_Real angle = atof(a[9]) *
(M_PI / 180.0)
;
Standard_Boolean copy = n > 10;