mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-21 21:20:45 +00:00
Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code
This commit is contained in:
commit
da87e96761
@ -73,9 +73,12 @@ void LinedRoundedRectangle(int x, int y, int w, int h, int radius, int lw, QColo
|
|||||||
*/
|
*/
|
||||||
void RoundedRectangle(int x, int y, int w, int h, int radius, const QColor color);
|
void RoundedRectangle(int x, int y, int w, int h, int radius, const QColor color);
|
||||||
|
|
||||||
#ifdef BUILD_WITH_MSVC
|
#ifndef M_PI
|
||||||
// Visual C++ doesn't have either of these in it's maths header.. I'm not surprised at Microsofts maths abilities..
|
|
||||||
const double M_PI = 3.141592653589793;
|
const double M_PI = 3.141592653589793;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef BUILD_WITH_MSVC
|
||||||
|
// Visual C++ doesn't have round in it's maths header..
|
||||||
|
|
||||||
double round(double number);
|
double round(double number);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user