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
/
BOPTools
/
BOPTools_PaveFiller_3.cxx
diff --git
a/src/BOPTools/BOPTools_PaveFiller_3.cxx
b/src/BOPTools/BOPTools_PaveFiller_3.cxx
index
3739680
..
2f2e0ba
100755
(executable)
--- a/
src/BOPTools/BOPTools_PaveFiller_3.cxx
+++ b/
src/BOPTools/BOPTools_PaveFiller_3.cxx
@@
-3304,8
+3304,8
@@
void CorrectTolR3D(BOPTools_PaveFiller& aPF,
//
aA=aDN[0].Angle(aDN[1]);
aA=fabs(aA);
- if (aA>0.5*PI) {
- aA=PI-aA;
+ if (aA>0.5*
M_
PI) {
+ aA=
M_
PI-aA;
}
//
if (aA<aAmin || aA>aAmax) {