mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
This commit is contained in:
@@ -298,7 +298,7 @@ void WNT_DDriver::BeginDraw()
|
||||
Quantity_Length width, height;
|
||||
WorkSpace (width, height);
|
||||
if (myFlags & FLAG_ROTATE) {
|
||||
a -> myAngle = Standard_PI / 2;
|
||||
a -> myAngle = M_PI / 2;
|
||||
a -> myPivot.x = Convert (height / 2);
|
||||
a -> myPivot.y = Convert (width / 2);
|
||||
a -> myMove.x =
|
||||
|
@@ -15,7 +15,6 @@
|
||||
|
||||
#include <WNT_Bitmap.h>
|
||||
|
||||
#define M_PI 3.1415
|
||||
#define TRASH_SIZE 8
|
||||
|
||||
#define PWND ( ( WNT_WindowPtr )myWindow )
|
||||
|
Reference in New Issue
Block a user