mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
This commit is contained in:
@@ -100,7 +100,7 @@ static Standard_Integer revol(Draw_Interpretor& ,
|
||||
gp_Dir D(atof(a[6]),atof(a[7]),atof(a[8]));
|
||||
gp_Ax1 A(P,D);
|
||||
|
||||
Standard_Real angle = atof(a[9]) * PI180;
|
||||
Standard_Real angle = atof(a[9]) * (M_PI / 180.0);
|
||||
|
||||
Standard_Boolean copy = n > 10;
|
||||
|
||||
|
Reference in New Issue
Block a user