mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-21 18:38:20 -05:00
Add random colored borders to browsers and targets that are sufficiently bright, and add function to pass them to GUI
This commit is contained in:
@@ -51,15 +51,14 @@ namespace openspace {
|
||||
bool _browserDimIsDirty;
|
||||
properties::FloatProperty _vfieldOfView;
|
||||
properties::StringProperty _skyTargetID;
|
||||
properties::Vec3Property _borderColor;
|
||||
private:
|
||||
glm::vec2 _startDimensionsSize;
|
||||
float _startScale;
|
||||
properties::Vec2Property _browserDimensions;
|
||||
bool _camIsSyncedWWT;
|
||||
ScreenSpaceSkyTarget* _skyTarget;
|
||||
std::thread _threadWWTMessages;
|
||||
glm::ivec3 _borderColor;
|
||||
|
||||
std::thread _threadWWTMessages;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace openspace {
|
||||
GLuint _vertexBuffer = 0;
|
||||
float _fieldOfView = 100.f;
|
||||
ScreenSpaceSkyBrowser* _skyBrowser;
|
||||
glm::vec3 _borderColor;
|
||||
glm::ivec3 _borderColor;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user