mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
This commit is contained in:
@@ -88,7 +88,7 @@ Primitives_OneAxis::Primitives_OneAxis(const TheBuilder& B,
|
||||
const Standard_Real VMax) :
|
||||
myBuilder(B),
|
||||
myAxes(A),
|
||||
myAngle(2*PI),
|
||||
myAngle(2*M_PI),
|
||||
myVMin(VMin),
|
||||
myVMax(VMax),
|
||||
myMeridianOffset(0)
|
||||
@@ -247,7 +247,7 @@ Standard_Boolean Primitives_OneAxis::HasBottom() const
|
||||
|
||||
Standard_Boolean Primitives_OneAxis::HasSides() const
|
||||
{
|
||||
return 2*PI - myAngle > Precision::Angular();
|
||||
return 2*M_PI - myAngle > Precision::Angular();
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
|
Reference in New Issue
Block a user