add math.h to screenspacerenderables for M_PI, windows only

This commit is contained in:
Michael Nilsson
2016-03-16 17:21:54 -04:00
parent fd5a3a7a1f
commit 5a0ee0bc7a
@@ -31,6 +31,11 @@
#include <openspace/properties/scalarproperty.h>
#include <openspace/properties/stringproperty.h>
#ifdef WIN32
#define _USE_MATH_DEFINES
#include <math.h>
#endif
namespace openspace {
class ScreenSpaceRenderable : public properties::PropertyOwner {