Use renderable target vectors to calculate translation

This commit is contained in:
Ylva Selling
2022-10-28 14:03:41 -04:00
parent f1ff3c2db3
commit 68ea36e08d
3 changed files with 24 additions and 25 deletions

View File

@@ -57,6 +57,8 @@ public:
static documentation::Documentation Documentation();
glm::dvec3 rightVector();
glm::dvec3 upVector();
private:
// Properties
properties::FloatProperty _crossHairSize;
@@ -67,6 +69,8 @@ private:
double _borderRadius = 0.0;
glm::ivec3 _borderColor = glm::ivec3(230);
float _ratio = 1.f;
glm::dvec3 _rightVector;
glm::dvec3 _upVector;
};
} // namespace openspace