mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-22 02:48:25 -05:00
add math.h to screenspacerenderables for M_PI, windows only
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user