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
/
QAViewer2dTest
/
QAViewer2dTest.cxx
diff --git
a/src/QAViewer2dTest/QAViewer2dTest.cxx
b/src/QAViewer2dTest/QAViewer2dTest.cxx
index
b4b8ba9
..
6f7f4f6
100755
(executable)
--- a/
src/QAViewer2dTest/QAViewer2dTest.cxx
+++ b/
src/QAViewer2dTest/QAViewer2dTest.cxx
@@
-482,7
+482,7
@@
static Standard_Integer TDraft2d (Draw_Interpretor& di, Standard_Integer argc, c
return 1;
}
anAngle = atof(argv[4]);
- anAngle = 2*PI * anAngle / 360.0;
+ anAngle = 2*
M_
PI * anAngle / 360.0;
gp_Pln aPln;
Handle(Geom_Surface) aSurf;
// AIS2D_KindOfSurface aSurfType;