mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
This commit is contained in:
@@ -537,7 +537,7 @@ static Standard_Integer fixsmalledges(Draw_Interpretor& di, Standard_Integer n,
|
||||
Standard_Integer k = 3;
|
||||
Standard_Real tol = 100000;
|
||||
Standard_Integer mode = 2;
|
||||
Standard_Real tolang = PI/2;
|
||||
Standard_Real tolang = M_PI/2;
|
||||
if(n > k)
|
||||
tol = atof(a[k++]);
|
||||
|
||||
|
@@ -447,7 +447,7 @@ static Standard_Integer DT_SplitAngle(Draw_Interpretor& di,
|
||||
if ( maxangle <1 ) maxangle = 1;
|
||||
}
|
||||
|
||||
ShapeUpgrade_ShapeDivideAngle tool(maxangle*PI/180,inputShape);
|
||||
ShapeUpgrade_ShapeDivideAngle tool(maxangle*M_PI/180,inputShape);
|
||||
tool.Perform();
|
||||
TopoDS_Shape res = tool.Result();
|
||||
|
||||
|
Reference in New Issue
Block a user