mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
Change camera dictionary state representation to consider position, rotation and focus node.
This commit is contained in:
@@ -160,6 +160,7 @@ public:
|
||||
void setCamera(Camera* camera);
|
||||
|
||||
// Interaction mode setters
|
||||
void setStateFromDictionary(const ghoul::Dictionary& cameraDict);
|
||||
void setInteractionModeToOrbital();
|
||||
void setInteractionModeToGlobeBrowsing();
|
||||
|
||||
@@ -175,6 +176,7 @@ public:
|
||||
void update(double deltaTime);
|
||||
|
||||
// Accessors
|
||||
ghoul::Dictionary getStateDictionary();
|
||||
SceneGraphNode* const focusNode() const;
|
||||
Camera* const camera() const;
|
||||
const InputState& inputState() const;
|
||||
|
||||
Reference in New Issue
Block a user