mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-23 12:39:24 -05:00
convertion to polar coordinates on flatscreen disable
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user