convertion to polar coordinates on flatscreen disable

This commit is contained in:
Michael Nilsson
2016-03-14 17:45:37 -04:00
parent a94f877ac7
commit 09f00fe81a
6 changed files with 73 additions and 8 deletions
@@ -29,6 +29,7 @@
#include <openspace/properties/vectorproperty.h>
#include <openspace/properties/stringproperty.h>
#include <openspace/rendering/screenspacerenderable.h>
namespace ghoul {
namespace fontrendering {
@@ -144,6 +145,7 @@ public:
int _node;
} _onScreenInformation;
std::shared_ptr<ScreenSpaceRenderable> ssr;
private:
void setRenderer(std::unique_ptr<Renderer> renderer);
RendererImplementation rendererFromString(const std::string& method);
@@ -44,6 +44,17 @@ public:
virtual void update() = 0;
virtual bool isReady() const = 0;
bool isEnabled() const;
void x(float d){
glm::vec3 pos = _position.value();
pos.x += d;
_position.set(pos);
};
void y(float d){
glm::vec3 pos = _position.value();
pos.y += d;
_position.set(pos);
};
protected:
void createPlane();