mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-09 12:40:43 +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);
|
||||
|
||||
#ifdef BUILD_WITH_MSVC
|
||||
// Visual C++ doesn't have either of these in it's maths header.. I'm not surprised at Microsofts maths abilities..
|
||||
#ifndef M_PI
|
||||
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);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user