QTfrontend/drawmapscene.cpp
changeset 13931 6c8d4e140f27
parent 13236 ef1393c6bd12
equal deleted inserted replaced
13930:a44e4c057f57 13931:6c8d4e140f27
    27 
    27 
    28 #define DRAWN_MAP_COLOR_LAND (Qt::yellow)
    28 #define DRAWN_MAP_COLOR_LAND (Qt::yellow)
    29 #define DRAWN_MAP_COLOR_CURSOR_PEN (Qt::green)
    29 #define DRAWN_MAP_COLOR_CURSOR_PEN (Qt::green)
    30 #define DRAWN_MAP_COLOR_CURSOR_ERASER (Qt::red)
    30 #define DRAWN_MAP_COLOR_CURSOR_ERASER (Qt::red)
    31 
    31 
       
    32 #ifndef M_PI
       
    33 #define M_PI 3.14159265358979323846
       
    34 #endif
       
    35 
    32 template <class T> T sqr(const T & x)
    36 template <class T> T sqr(const T & x)
    33 {
    37 {
    34     return x*x;
    38     return x*x;
    35 }
    39 }
    36 
    40