mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-12 00:08:38 -05:00
Fixing on-screen gui for multiple nodes
This commit is contained in:
@@ -27,6 +27,9 @@
|
||||
|
||||
#include <openspace/scripting/scriptengine.h>
|
||||
|
||||
#include <openspace/properties/vectorproperty.h>
|
||||
#include <openspace/properties/stringproperty.h>
|
||||
|
||||
namespace ghoul {
|
||||
class SharedMemory;
|
||||
}
|
||||
@@ -97,6 +100,13 @@ public:
|
||||
//temporaray fade functionality
|
||||
void startFading(int direction, float fadeDuration);
|
||||
|
||||
// This is temporary until a proper screenspace solution is found ---abock
|
||||
struct {
|
||||
glm::vec2 _position;
|
||||
float _size;
|
||||
int _node;
|
||||
} _onScreenInformation;
|
||||
|
||||
private:
|
||||
void storePerformanceMeasurements();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user