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_SurfaceCommands.cxx
diff --git
a/src/BRepTest/BRepTest_SurfaceCommands.cxx
b/src/BRepTest/BRepTest_SurfaceCommands.cxx
index
f512179
..
e34582a
100755
(executable)
--- a/
src/BRepTest/BRepTest_SurfaceCommands.cxx
+++ b/
src/BRepTest/BRepTest_SurfaceCommands.cxx
@@
-456,7
+456,7
@@
static Standard_Integer encoderegularity (Draw_Interpretor& ,
BRepLib::EncodeRegularity(sh);
else {
Standard_Real Tol = atof(a[2]);
- Tol *= PI/180.;
+ Tol *=
M_
PI/180.;
BRepLib::EncodeRegularity(sh, Tol);
}
return 0;